Lines Matching full:decimal_point
65 // Returns decimal_point s.t.
66 // v = numerator'/denominator' * 10^(decimal_point-1)
70 int* decimal_point,
80 static void BignumToFixed(int requested_digits, int* decimal_point,
86 // decimal_point when rounding up (for example for 0.9999).
87 static void GenerateCountedDigits(int count, int* decimal_point,
93 Vector<char> buffer, int* length, int* decimal_point) {
113 *decimal_point = -requested_digits;
131 FixupMultiply10(estimated_power, is_even, decimal_point,
134 // We now have v = (numerator / denominator) * 10^(decimal_point-1), and
143 BignumToFixed(requested_digits, decimal_point,
148 GenerateCountedDigits(requested_digits, decimal_point,
269 // exponent (decimal_point), when rounding upwards.
270 static void GenerateCountedDigits(int count, int* decimal_point,
301 (*decimal_point)++;
312 static void BignumToFixed(int requested_digits, int* decimal_point,
318 if (-(*decimal_point) > requested_digits) {
324 *decimal_point = -requested_digits;
327 } else if (-(*decimal_point) == requested_digits) {
330 ASSERT(*decimal_point == -requested_digits);
339 (*decimal_point)++;
348 int needed_digits = (*decimal_point) + requested_digits;
349 GenerateCountedDigits(needed_digits, decimal_point,
622 // after modification, then the output-parameter decimal_point is such that
624 // numerator' / denominator' * 10^(decimal_point - 1)
630 int* decimal_point,
644 *decimal_point = estimated_power + 1;
646 *decimal_point = estimated_power;