Home
last modified time | relevance | path

Searched refs:kSignificandSize (Results 1 – 15 of 15) sorted by relevance

/external/v8/src/
Ddouble.h30 static constexpr int kSignificandSize = 53; variable
58 f <<= DiyFp::kSignificandSize - kSignificandSize; in AsNormalizedDiyFp()
59 e -= DiyFp::kSignificandSize - kSignificandSize; in AsNormalizedDiyFp()
168 if (order >= (kDenormalExponent + kSignificandSize)) { in SignificandSizeForOrderOfMagnitude()
169 return kSignificandSize; in SignificandSizeForOrderOfMagnitude()
Dfast-dtoa.cc411 BiggestPowerTen(integrals, DiyFp::kSignificandSize - (-one.e()), in DigitGen()
519 BiggestPowerTen(integrals, DiyFp::kSignificandSize - (-one.e()), in DigitGenCounted()
601 kMinimalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3()
603 kMaximalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3()
609 DiyFp::kSignificandSize) && in Grisu3()
611 DiyFp::kSignificandSize)); in Grisu3()
623 boundary_plus.e() + ten_mk.e() + DiyFp::kSignificandSize); in Grisu3()
660 kMinimalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3Counted()
662 kMaximalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3Counted()
668 DiyFp::kSignificandSize) && in Grisu3Counted()
[all …]
Dstrtod.cc283 DCHECK_EQ(DiyFp::kSignificandSize, 64); in DiyFpStrtod()
306 int order_of_magnitude = DiyFp::kSignificandSize + input.e(); in DiyFpStrtod()
310 DiyFp::kSignificandSize - effective_significand_size; in DiyFpStrtod()
311 if (precision_digits_count + kDenominatorLog >= DiyFp::kSignificandSize) { in DiyFpStrtod()
316 DiyFp::kSignificandSize + 1; in DiyFpStrtod()
325 DCHECK_EQ(DiyFp::kSignificandSize, 64); in DiyFpStrtod()
Ddiy-fp.h22 static const int kSignificandSize = 64;
Dbignum-dtoa.cc371 const int kSignificandSize = 53; in EstimatePower() local
373 std::ceil((exponent + kSignificandSize - 1) * k1Log10 - 1e-10); in EstimatePower()
Dcached-powers.cc130 int kQ = DiyFp::kSignificandSize; in GetCachedPowerForBinaryExponentRange()
Dconversions-inl.h83 if (exponent <= -Double::kSignificandSize) return 0; in DoubleToInt32()
/external/icu/icu4c/source/i18n/
Ddouble-conversion-fast-dtoa.cpp354 BiggestPowerTen(integrals, DiyFp::kSignificandSize - (-one.e()), in DigitGen()
464 BiggestPowerTen(integrals, DiyFp::kSignificandSize - (-one.e()), in DigitGenCounted()
555 kMinimalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3()
557 kMaximalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3()
563 DiyFp::kSignificandSize) && in Grisu3()
565 DiyFp::kSignificandSize)); in Grisu3()
577 boundary_plus.e() + ten_mk.e() + DiyFp::kSignificandSize); in Grisu3()
614 kMinimalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3Counted()
616 kMaximalTargetExponent - (w.e() + DiyFp::kSignificandSize); in Grisu3Counted()
622 DiyFp::kSignificandSize) && in Grisu3Counted()
[all …]
Ddouble-conversion-ieee.h63 static const int kSignificandSize = 53; variable
91 f <<= DiyFp::kSignificandSize - kSignificandSize; in AsNormalizedDiyFp()
92 e -= DiyFp::kSignificandSize - kSignificandSize; in AsNormalizedDiyFp()
223 if (order >= (kDenormalExponent + kSignificandSize)) { in SignificandSizeForOrderOfMagnitude()
224 return kSignificandSize; in SignificandSizeForOrderOfMagnitude()
284 static const int kSignificandSize = 24; variable
Ddouble-conversion-strtod.cpp328 ASSERT(DiyFp::kSignificandSize == 64); in DiyFpStrtod()
351 int order_of_magnitude = DiyFp::kSignificandSize + input.e(); in DiyFpStrtod()
355 DiyFp::kSignificandSize - effective_significand_size; in DiyFpStrtod()
356 if (precision_digits_count + kDenominatorLog >= DiyFp::kSignificandSize) { in DiyFpStrtod()
361 DiyFp::kSignificandSize + 1; in DiyFpStrtod()
370 ASSERT(DiyFp::kSignificandSize == 64); in DiyFpStrtod()
Ddouble-conversion.cpp550 const int kDoubleSize = Double::kSignificandSize; in RadixStringToIeee()
551 const int kSingleSize = Single::kSignificandSize; in RadixStringToIeee()
552 const int kSignificandSize = read_as_double? kDoubleSize: kSingleSize; in RadixStringToIeee() local
586 int overflow = static_cast<int>(number >> kSignificandSize); in RadixStringToIeee()
625 if ((number & ((int64_t)1 << kSignificandSize)) != 0) { in RadixStringToIeee()
634 ASSERT(number < ((int64_t)1 << kSignificandSize)); in RadixStringToIeee()
Ddouble-conversion-bignum-dtoa.cpp424 const int kSignificandSize = Double::kSignificandSize; in EstimatePower() local
425 double estimate = ceil((exponent + kSignificandSize - 1) * k1Log10 - 1e-10); in EstimatePower()
Ddouble-conversion-diy-fp.h56 static const int kSignificandSize = 64;
Ddouble-conversion-cached-powers.cpp160 int kQ = DiyFp::kSignificandSize; in GetCachedPowerForBinaryExponentRange()
/external/v8/src/objects/
Dbigint.cc268 const int kMantissaTopBit = Double::kSignificandSize - 1; // 0-indexed. in NewFromDouble()