Home
last modified time | relevance | path

Searched refs:requested_digits (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/
Ddtoa.cc32 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()
Dbignum-dtoa.cc55 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 …]
Dfast-dtoa.cc489 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 …]
Dfast-dtoa.h55 int requested_digits,
Dbignum-dtoa.h55 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits,
Ddtoa.h59 void DoubleToAscii(double v, DtoaMode mode, int requested_digits,