Searched refs:requested_digits (Results 1 – 6 of 6) sorted by relevance
/external/v8/src/ |
D | dtoa.cc | 32 void DoubleToAscii(double v, DtoaMode mode, int requested_digits, in DoubleToAscii() argument 35 DCHECK(mode == DTOA_SHORTEST || requested_digits >= 0); in DoubleToAscii() 52 if (mode == DTOA_PRECISION && requested_digits == 0) { in DoubleToAscii() 64 fast_worked = FastFixedDtoa(v, requested_digits, buffer, length, point); in DoubleToAscii() 67 fast_worked = FastDtoa(v, FAST_DTOA_PRECISION, requested_digits, in DoubleToAscii() 78 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 | 489 int requested_digits, in DigitGenCounted() argument 523 requested_digits--; in DigitGenCounted() 528 if (requested_digits == 0) break; in DigitGenCounted() 532 if (requested_digits == 0) { in DigitGenCounted() 549 while (requested_digits > 0 && fractionals > w_error) { in DigitGenCounted() 556 requested_digits--; in DigitGenCounted() 560 if (requested_digits != 0) return false; in DigitGenCounted() 643 int requested_digits, in Grisu3Counted() argument 679 bool result = DigitGenCounted(scaled_w, requested_digits, in Grisu3Counted() 688 int requested_digits, in FastDtoa() argument [all …]
|
D | fast-dtoa.h | 55 int requested_digits,
|
D | bignum-dtoa.h | 55 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits,
|
D | dtoa.h | 59 void DoubleToAscii(double v, DtoaMode mode, int requested_digits,
|