/external/v8/src/ |
D | dtoa.cc | 31 void DoubleToAscii(double v, DtoaMode mode, int requested_digits, in DoubleToAscii() argument 34 DCHECK(mode == DTOA_SHORTEST || requested_digits >= 0); in DoubleToAscii() 51 if (mode == DTOA_PRECISION && requested_digits == 0) { in DoubleToAscii() 63 fast_worked = FastFixedDtoa(v, requested_digits, buffer, length, point); in DoubleToAscii() 66 fast_worked = FastDtoa(v, FAST_DTOA_PRECISION, requested_digits, in DoubleToAscii() 76 BignumDtoa(v, bignum_mode, requested_digits, buffer, length, point); in DoubleToAscii()
|
D | bignum-dtoa.cc | 55 static void BignumToFixed(int requested_digits, int* decimal_point, 67 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits, in BignumDtoa() argument 82 if (mode == BIGNUM_DTOA_FIXED && -estimated_power - 1 > requested_digits) { in BignumDtoa() 88 *decimal_point = -requested_digits; in BignumDtoa() 118 BignumToFixed(requested_digits, decimal_point, in BignumDtoa() 123 GenerateCountedDigits(requested_digits, decimal_point, in BignumDtoa() 287 static void BignumToFixed(int requested_digits, int* decimal_point, in BignumToFixed() argument 293 if (-(*decimal_point) > requested_digits) { in BignumToFixed() 299 *decimal_point = -requested_digits; in BignumToFixed() 302 } else if (-(*decimal_point) == requested_digits) { in BignumToFixed() [all …]
|
D | fast-dtoa.cc | 498 int requested_digits, in DigitGenCounted() argument 532 requested_digits--; in DigitGenCounted() 537 if (requested_digits == 0) break; in DigitGenCounted() 541 if (requested_digits == 0) { in DigitGenCounted() 558 while (requested_digits > 0 && fractionals > w_error) { in DigitGenCounted() 565 requested_digits--; in DigitGenCounted() 569 if (requested_digits != 0) return false; in DigitGenCounted() 652 int requested_digits, in Grisu3Counted() argument 688 bool result = DigitGenCounted(scaled_w, requested_digits, in Grisu3Counted() 697 int requested_digits, in FastDtoa() argument [all …]
|
D | bignum-dtoa.h | 55 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits,
|
D | fast-dtoa.h | 55 int requested_digits,
|
D | dtoa.h | 59 void DoubleToAscii(double v, DtoaMode mode, int requested_digits,
|
/external/icu/icu4c/source/i18n/ |
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.cpp | 215 int requested_digits, 224 if (requested_digits > kMaxFixedDigitsAfterPoint) return false; 235 DoubleToAscii(value, FIXED, requested_digits, 245 requested_digits, result_builder); 252 int requested_digits, 258 if (requested_digits < -1) return false; 259 if (requested_digits > kMaxExponentialDigits) return false; 269 if (requested_digits == -1) { 274 DoubleToAscii(value, PRECISION, requested_digits + 1, 277 ASSERT(decimal_rep_length <= requested_digits + 1); [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.h | 216 int requested_digits, 248 int requested_digits, 354 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,
|