Searched refs:fractionals (Results 1 – 3 of 3) sorted by relevance
/external/v8/src/ |
D | fast-dtoa.cc | 408 uint64_t fractionals = too_high.f() & (one.f() - 1); in DigitGen() local 428 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGen() 448 DCHECK(fractionals < one.f()); in DigitGen() 451 fractionals *= 10; in DigitGen() 455 int digit = static_cast<int>(fractionals >> -one.e()); in DigitGen() 458 fractionals &= one.f() - 1; // Modulo by one. in DigitGen() 460 if (fractionals < unsafe_interval.f()) { in DigitGen() 462 unsafe_interval.f(), fractionals, one.f(), unit); in DigitGen() 516 uint64_t fractionals = w.f() & (one.f() - 1); in DigitGenCounted() local 543 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGenCounted() [all …]
|
D | fixed-dtoa.cc | 212 static void FillFractionals(uint64_t fractionals, int exponent, in FillFractionals() argument 221 DCHECK_EQ(fractionals >> 56, 0); in FillFractionals() 224 if (fractionals == 0) break; in FillFractionals() 235 fractionals *= 5; in FillFractionals() 237 int digit = static_cast<int>(fractionals >> point); in FillFractionals() 240 fractionals -= static_cast<uint64_t>(digit) << point; in FillFractionals() 243 if (((fractionals >> (point - 1)) & 1) == 1) { in FillFractionals() 248 UInt128 fractionals128 = UInt128(fractionals, 0); in FillFractionals() 353 uint64_t fractionals = significand - (integrals << -exponent); in FastFixedDtoa() local 360 FillFractionals(fractionals, exponent, fractional_count, in FastFixedDtoa()
|
/external/icu/icu4c/source/i18n/ |
D | double-conversion-fast-dtoa.cpp | 351 uint64_t fractionals = too_high.f() & (one.f() - 1); in DigitGen() local 372 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGen() 392 ASSERT(fractionals < one.f()); in DigitGen() 395 fractionals *= 10; in DigitGen() 399 int digit = static_cast<int>(fractionals >> -one.e()); in DigitGen() 403 fractionals &= one.f() - 1; // Modulo by one. in DigitGen() 405 if (fractionals < unsafe_interval.f()) { in DigitGen() 407 unsafe_interval.f(), fractionals, one.f(), unit); in DigitGen() 461 uint64_t fractionals = w.f() & (one.f() - 1); in DigitGenCounted() local 489 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGenCounted() [all …]
|