HomeSort by relevance Sort by last modified time
    Searched refs:DiyFp (Results 1 - 10 of 10) sorted by null

  /external/v8/test/cctest/
test-diy-fp.cc 16 DiyFp diy_fp1 = DiyFp(3, 0);
17 DiyFp diy_fp2 = DiyFp(1, 0);
18 DiyFp diff = DiyFp::Minus(diy_fp1, diy_fp2);
29 DiyFp diy_fp1 = DiyFp(3, 0);
30 DiyFp diy_fp2 = DiyFp(2, 0)
    [all...]
test-double.cc 30 DiyFp diy_fp = Double(ordered).AsDiyFp();
50 DiyFp diy_fp = Double(ordered).AsNormalizedDiyFp();
142 DiyFp boundary_plus;
143 DiyFp boundary_minus;
144 DiyFp diy_fp = Double(1.5).AsNormalizedDiyFp();
test-strtod.cc 351 DiyFp diy_fp) {
373 DiyFp lower_boundary;
374 DiyFp upper_boundary;
  /external/v8/src/
diy-fp.h 35 // with a uint64 significand and an int exponent. Normalized DiyFp numbers will
38 // DiyFp are not designed to contain special doubles (NaN and Infinity).
39 class DiyFp {
43 DiyFp() : f_(0), e_(0) {}
44 DiyFp(uint64_t f, int e) : f_(f), e_(e) {}
50 void Subtract(const DiyFp& other) {
59 static DiyFp Minus(const DiyFp& a, const DiyFp& b) {
60 DiyFp result = a
    [all...]
cached-powers.h 50 DiyFp* power,
59 DiyFp* power,
double.h 54 explicit Double(DiyFp diy_fp)
59 DiyFp AsDiyFp() const {
62 return DiyFp(Significand(), Exponent());
66 DiyFp AsNormalizedDiyFp() const {
77 f <<= DiyFp::kSignificandSize - kSignificandSize;
78 e -= DiyFp::kSignificandSize - kSignificandSize;
79 return DiyFp(f, e);
152 DiyFp UpperBoundary() const {
154 return DiyFp(Significand() * 2 + 1, Exponent() - 1);
161 void NormalizedBoundaries(DiyFp* out_m_minus, DiyFp* out_m_plus) const
    [all...]
fast-dtoa.cc 342 // w is a floating-point number (DiyFp), consisting of a significand and an
383 static bool DigitGen(DiyFp low,
384 DiyFp w,
385 DiyFp high,
404 DiyFp too_low = DiyFp(low.f() - unit, low.e());
405 DiyFp too_high = DiyFp(high.f() + unit, high.e());
408 DiyFp unsafe_interval = DiyFp::Minus(too_high, too_low)
    [all...]
strtod.cc 150 // Reads a DiyFp from the buffer.
151 // The returned DiyFp is not necessarily normalized.
152 // If remaining_decimals is zero then the returned DiyFp is accurate.
155 DiyFp* result,
160 *result = DiyFp(significand, 0);
169 *result = DiyFp(significand, exponent);
227 // Returns 10^exponent as an exact DiyFp.
229 static DiyFp AdjustmentPowerOfTen(int exponent) {
236 case 1: return DiyFp(V8_2PART_UINT64_C(0xa0000000, 00000000), -60);
237 case 2: return DiyFp(V8_2PART_UINT64_C(0xc8000000, 00000000), -57)
    [all...]
diy-fp.cc 35 void DiyFp::Multiply(const DiyFp& other) {
cached-powers.cc 147 DiyFp* power,
149 int kQ = DiyFp::kSignificandSize;
159 *power = DiyFp(cached_power.significand, cached_power.binary_exponent);
164 DiyFp* power,
171 *power = DiyFp(cached_power.significand, cached_power.binary_exponent);

Completed in 4719 milliseconds