Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
Dfast-dtoa.cc423 uint64_t fractionals = too_high.f() & (one.f() - 1); in DigitGen() local
443 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGen()
463 ASSERT(fractionals < one.f()); in DigitGen()
466 fractionals *= 10; in DigitGen()
470 int digit = static_cast<int>(fractionals >> -one.e()); in DigitGen()
473 fractionals &= one.f() - 1; // Modulo by one. in DigitGen()
475 if (fractionals < unsafe_interval.f()) { in DigitGen()
477 unsafe_interval.f(), fractionals, one.f(), unit); in DigitGen()
531 uint64_t fractionals = w.f() & (one.f() - 1); in DigitGenCounted() local
558 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGenCounted()
[all …]
Dfixed-dtoa.cc234 static void FillFractionals(uint64_t fractionals, int exponent, in FillFractionals() argument
243 ASSERT(fractionals >> 56 == 0); in FillFractionals()
246 if (fractionals == 0) break; in FillFractionals()
257 fractionals *= 5; in FillFractionals()
259 int digit = static_cast<int>(fractionals >> point); in FillFractionals()
262 fractionals -= static_cast<uint64_t>(digit) << point; in FillFractionals()
265 if (((fractionals >> (point - 1)) & 1) == 1) { in FillFractionals()
270 UInt128 fractionals128 = UInt128(fractionals, 0); in FillFractionals()
375 uint64_t fractionals = significand - (integrals << -exponent); in FastFixedDtoa() local
382 FillFractionals(fractionals, exponent, fractional_count, in FastFixedDtoa()
/external/chromium_org/v8/src/
Dfast-dtoa.cc399 uint64_t fractionals = too_high.f() & (one.f() - 1); in DigitGen() local
419 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGen()
439 DCHECK(fractionals < one.f()); in DigitGen()
442 fractionals *= 10; in DigitGen()
446 int digit = static_cast<int>(fractionals >> -one.e()); in DigitGen()
449 fractionals &= one.f() - 1; // Modulo by one. in DigitGen()
451 if (fractionals < unsafe_interval.f()) { in DigitGen()
453 unsafe_interval.f(), fractionals, one.f(), unit); in DigitGen()
507 uint64_t fractionals = w.f() & (one.f() - 1); in DigitGenCounted() local
534 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGenCounted()
[all …]
Dfixed-dtoa.cc212 static void FillFractionals(uint64_t fractionals, int exponent, in FillFractionals() argument
221 DCHECK(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()