Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/icu/source/i18n/
Ddouble-conversion-fast-dtoa.cpp351 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 …]
/third_party/icu/icu4c/source/i18n/
Ddouble-conversion-fast-dtoa.cpp351 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 …]
/third_party/icu/vendor/double-conversion/upstream/double-conversion/
Dfast-dtoa.cc337 uint64_t fractionals = too_high.f() & (one.f() - 1); in DigitGen() local
358 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGen()
378 DOUBLE_CONVERSION_ASSERT(fractionals < one.f()); in DigitGen()
381 fractionals *= 10; in DigitGen()
385 int digit = static_cast<int>(fractionals >> -one.e()); in DigitGen()
389 fractionals &= one.f() - 1; // Modulo by one. in DigitGen()
391 if (fractionals < unsafe_interval.f()) { in DigitGen()
393 unsafe_interval.f(), fractionals, one.f(), unit); in DigitGen()
447 uint64_t fractionals = w.f() & (one.f() - 1); in DigitGenCounted() local
475 (static_cast<uint64_t>(integrals) << -one.e()) + fractionals; in DigitGenCounted()
[all …]
Dfixed-dtoa.cc230 static void FillFractionals(uint64_t fractionals, int exponent, in FillFractionals() argument
239 DOUBLE_CONVERSION_ASSERT(fractionals >> 56 == 0); in FillFractionals()
242 if (fractionals == 0) break; in FillFractionals()
253 fractionals *= 5; in FillFractionals()
255 int digit = static_cast<int>(fractionals >> point); in FillFractionals()
259 fractionals -= static_cast<uint64_t>(digit) << point; in FillFractionals()
262 DOUBLE_CONVERSION_ASSERT(fractionals == 0 || point - 1 >= 0); in FillFractionals()
263 if ((fractionals != 0) && ((fractionals >> (point - 1)) & 1) == 1) { in FillFractionals()
268 UInt128 fractionals128 = UInt128(fractionals, 0); in FillFractionals()
374 uint64_t fractionals = significand - (integrals << -exponent); in FastFixedDtoa() local
[all …]
/third_party/node/deps/v8/src/base/numbers/
Dfast-dtoa.cc390 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 …]
Dfixed-dtoa.cc203 static void FillFractionals(uint64_t fractionals, int exponent, in FillFractionals() argument
212 DCHECK_EQ(fractionals >> 56, 0); in FillFractionals()
215 if (fractionals == 0) break; in FillFractionals()
226 fractionals *= 5; in FillFractionals()
228 int digit = static_cast<int>(fractionals >> point); in FillFractionals()
231 fractionals -= static_cast<uint64_t>(digit) << point; in FillFractionals()
234 if (point > 0 && ((fractionals >> (point - 1)) & 1) == 1) { in FillFractionals()
239 UInt128 fractionals128 = UInt128(fractionals, 0); in FillFractionals()
339 uint64_t fractionals = significand - (integrals << -exponent); in FastFixedDtoa() local
346 FillFractionals(fractionals, exponent, fractional_count, buffer, length, in FastFixedDtoa()
/third_party/node/deps/icu-small/source/i18n/
Ddouble-conversion-fast-dtoa.cpp351 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 …]