/external/icu/icu4c/source/i18n/ |
D | double-conversion-double-to-string.cpp | 221 int requested_digits, 230 if (requested_digits > kMaxFixedDigitsAfterPoint) return false; 241 DoubleToAscii(value, FIXED, requested_digits, 251 requested_digits, result_builder); 258 int requested_digits, 264 if (requested_digits < -1) return false; 265 if (requested_digits > kMaxExponentialDigits) return false; 281 if (requested_digits == -1) { 286 DoubleToAscii(value, PRECISION, requested_digits + 1, 289 DOUBLE_CONVERSION_ASSERT(decimal_rep_length <= requested_digits + 1); [all …]
|
D | double-conversion-bignum-dtoa.cpp | 91 static void BignumToFixed(int requested_digits, int* decimal_point, 103 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits, in BignumDtoa() argument 133 if (mode == BIGNUM_DTOA_FIXED && -estimated_power - 1 > requested_digits) { in BignumDtoa() 139 *decimal_point = -requested_digits; in BignumDtoa() 170 BignumToFixed(requested_digits, decimal_point, in BignumDtoa() 175 GenerateCountedDigits(requested_digits, decimal_point, in BignumDtoa() 340 static void BignumToFixed(int requested_digits, int* decimal_point, in BignumToFixed() argument 346 if (-(*decimal_point) > requested_digits) { in BignumToFixed() 352 *decimal_point = -requested_digits; in BignumToFixed() 355 } else if (-(*decimal_point) == requested_digits) { in BignumToFixed() [all …]
|
D | double-conversion-fast-dtoa.cpp | 443 int requested_digits, in DigitGenCounted() argument 478 requested_digits--; in DigitGenCounted() 483 if (requested_digits == 0) break; in DigitGenCounted() 487 if (requested_digits == 0) { in DigitGenCounted() 504 while (requested_digits > 0 && fractionals > w_error) { in DigitGenCounted() 512 requested_digits--; in DigitGenCounted() 516 if (requested_digits != 0) return false; in DigitGenCounted() 606 int requested_digits, in Grisu3Counted() argument 642 bool result = DigitGenCounted(scaled_w, requested_digits, in Grisu3Counted() 651 int requested_digits, in FastDtoa() argument [all …]
|
D | double-conversion-double-to-string.h | 224 int requested_digits, 256 int requested_digits, 367 int requested_digits,
|
D | double-conversion-bignum-dtoa.h | 93 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits,
|
D | double-conversion-fast-dtoa.h | 95 int requested_digits,
|
/external/v8/src/numbers/ |
D | dtoa.cc | 33 void DoubleToAscii(double v, DtoaMode mode, int requested_digits, in DoubleToAscii() argument 36 DCHECK(mode == DTOA_SHORTEST || requested_digits >= 0); in DoubleToAscii() 53 if (mode == DTOA_PRECISION && requested_digits == 0) { in DoubleToAscii() 65 fast_worked = FastFixedDtoa(v, requested_digits, buffer, length, point); in DoubleToAscii() 68 fast_worked = FastDtoa(v, FAST_DTOA_PRECISION, requested_digits, buffer, in DoubleToAscii() 78 BignumDtoa(v, bignum_mode, requested_digits, buffer, length, point); in DoubleToAscii()
|
D | bignum-dtoa.cc | 51 static void BignumToFixed(int requested_digits, int* decimal_point, 62 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits, in BignumDtoa() argument 77 if (mode == BIGNUM_DTOA_FIXED && -estimated_power - 1 > requested_digits) { in BignumDtoa() 83 *decimal_point = -requested_digits; in BignumDtoa() 110 BignumToFixed(requested_digits, decimal_point, &numerator, &denominator, in BignumDtoa() 114 GenerateCountedDigits(requested_digits, decimal_point, &numerator, in BignumDtoa() 274 static void BignumToFixed(int requested_digits, int* decimal_point, in BignumToFixed() argument 280 if (-(*decimal_point) > requested_digits) { in BignumToFixed() 286 *decimal_point = -requested_digits; in BignumToFixed() 289 } else if (-(*decimal_point) == requested_digits) { in BignumToFixed() [all …]
|
D | fast-dtoa.cc | 477 static bool DigitGenCounted(DiyFp w, int requested_digits, Vector<char> buffer, in DigitGenCounted() argument 509 requested_digits--; in DigitGenCounted() 514 if (requested_digits == 0) break; in DigitGenCounted() 518 if (requested_digits == 0) { in DigitGenCounted() 535 while (requested_digits > 0 && fractionals > w_error) { in DigitGenCounted() 542 requested_digits--; in DigitGenCounted() 546 if (requested_digits != 0) return false; in DigitGenCounted() 623 static bool Grisu3Counted(double v, int requested_digits, Vector<char> buffer, in Grisu3Counted() argument 657 DigitGenCounted(scaled_w, requested_digits, buffer, length, &kappa); in Grisu3Counted() 662 bool FastDtoa(double v, FastDtoaMode mode, int requested_digits, in FastDtoa() argument [all …]
|
D | bignum-dtoa.h | 56 int requested_digits, Vector<char> buffer,
|
D | fast-dtoa.h | 54 int requested_digits, Vector<char> buffer,
|
D | dtoa.h | 60 int requested_digits, Vector<char> buffer,
|