Home
last modified time | relevance | path

Searched refs:fractionals (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/
Dfast-dtoa.cc420 uint64_t fractionals = too_high.f() & (one.f() - 1); in DigitGen() local
440 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGen()
460 ASSERT(fractionals < one.f()); in DigitGen()
463 fractionals *= 10; in DigitGen()
467 int digit = static_cast<int>(fractionals >> -one.e()); in DigitGen()
470 fractionals &= one.f() - 1; // Modulo by one. in DigitGen()
472 if (fractionals < unsafe_interval.f()) { in DigitGen()
474 unsafe_interval.f(), fractionals, one.f(), unit); in DigitGen()
528 uint64_t fractionals = w.f() & (one.f() - 1); in DigitGenCounted() local
555 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGenCounted()
[all …]
Dfixed-dtoa.cc233 static void FillFractionals(uint64_t fractionals, int exponent, in FillFractionals() argument
242 ASSERT(fractionals >> 56 == 0); in FillFractionals()
245 if (fractionals == 0) break; in FillFractionals()
256 fractionals *= 5; in FillFractionals()
258 int digit = static_cast<int>(fractionals >> point); in FillFractionals()
261 fractionals -= static_cast<uint64_t>(digit) << point; in FillFractionals()
264 if (((fractionals >> (point - 1)) & 1) == 1) { in FillFractionals()
269 UInt128 fractionals128 = UInt128(fractionals, 0); in FillFractionals()
374 uint64_t fractionals = significand - (integrals << -exponent); in FastFixedDtoa() local
381 FillFractionals(fractionals, exponent, fractional_count, in FastFixedDtoa()