Home
last modified time | relevance | path

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

/external/v8/src/
Dstrtod.cc309 int precision_digits_count = in DiyFpStrtod() local
311 if (precision_digits_count + kDenominatorLog >= DiyFp::kSignificandSize) { in DiyFpStrtod()
315 int shift_amount = (precision_digits_count + kDenominatorLog) - in DiyFpStrtod()
322 precision_digits_count -= shift_amount; in DiyFpStrtod()
326 DCHECK_LT(precision_digits_count, 64); in DiyFpStrtod()
328 uint64_t precision_bits_mask = (one64 << precision_digits_count) - 1; in DiyFpStrtod()
330 uint64_t half_way = one64 << (precision_digits_count - 1); in DiyFpStrtod()
333 DiyFp rounded_input(input.f() >> precision_digits_count, in DiyFpStrtod()
334 input.e() + precision_digits_count); in DiyFpStrtod()
/external/icu/icu4c/source/i18n/
Ddouble-conversion-strtod.cpp354 int precision_digits_count = in DiyFpStrtod() local
356 if (precision_digits_count + kDenominatorLog >= DiyFp::kSignificandSize) { in DiyFpStrtod()
360 int shift_amount = (precision_digits_count + kDenominatorLog) - in DiyFpStrtod()
367 precision_digits_count -= shift_amount; in DiyFpStrtod()
371 ASSERT(precision_digits_count < 64); in DiyFpStrtod()
373 uint64_t precision_bits_mask = (one64 << precision_digits_count) - 1; in DiyFpStrtod()
375 uint64_t half_way = one64 << (precision_digits_count - 1); in DiyFpStrtod()
378 DiyFp rounded_input(input.f() >> precision_digits_count, in DiyFpStrtod()
379 input.e() + precision_digits_count); in DiyFpStrtod()