Searched refs:fractionals (Results 1 – 3 of 3) sorted by relevance
/external/v8/src/numbers/ |
D | fast-dtoa.cc | 390 uint64_t fractionals = too_high.f() & (one.f() - 1); in DigitGen() local 410 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGen() 430 DCHECK(fractionals < one.f()); in DigitGen() 433 fractionals *= 10; in DigitGen() 437 int digit = static_cast<int>(fractionals >> -one.e()); in DigitGen() 440 fractionals &= one.f() - 1; // Modulo by one. in DigitGen() 442 if (fractionals < unsafe_interval.f()) { in DigitGen() 444 unsafe_interval.f(), fractionals, one.f(), unit); in DigitGen() 493 uint64_t fractionals = w.f() & (one.f() - 1); in DigitGenCounted() local 520 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGenCounted() [all …]
|
D | fixed-dtoa.cc | 204 static void FillFractionals(uint64_t fractionals, int exponent, in FillFractionals() argument 213 DCHECK_EQ(fractionals >> 56, 0); in FillFractionals() 216 if (fractionals == 0) break; in FillFractionals() 227 fractionals *= 5; in FillFractionals() 229 int digit = static_cast<int>(fractionals >> point); in FillFractionals() 232 fractionals -= static_cast<uint64_t>(digit) << point; in FillFractionals() 235 if (point > 0 && ((fractionals >> (point - 1)) & 1) == 1) { in FillFractionals() 240 UInt128 fractionals128 = UInt128(fractionals, 0); in FillFractionals() 340 uint64_t fractionals = significand - (integrals << -exponent); in FastFixedDtoa() local 347 FillFractionals(fractionals, exponent, fractional_count, buffer, length, 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 DOUBLE_CONVERSION_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 …]
|