Lines Matching refs:requested_digits
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()
292 DCHECK(*decimal_point == -requested_digits); in BignumToFixed()
310 int needed_digits = (*decimal_point) + requested_digits; in BignumToFixed()