Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ddouble-conversion-double-to-string.cpp221 int requested_digits,
230 if (requested_digits > kMaxFixedDigitsAfterPoint) return false;
241 DoubleToAscii(value, FIXED, requested_digits,
251 requested_digits, result_builder);
258 int requested_digits,
264 if (requested_digits < -1) return false;
265 if (requested_digits > kMaxExponentialDigits) return false;
281 if (requested_digits == -1) {
286 DoubleToAscii(value, PRECISION, requested_digits + 1,
289 DOUBLE_CONVERSION_ASSERT(decimal_rep_length <= requested_digits + 1);
[all …]
Ddouble-conversion-bignum-dtoa.cpp91 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 …]
Ddouble-conversion-fast-dtoa.cpp443 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 …]
Ddouble-conversion-double-to-string.h224 int requested_digits,
256 int requested_digits,
367 int requested_digits,
Ddouble-conversion-bignum-dtoa.h93 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits,
Ddouble-conversion-fast-dtoa.h95 int requested_digits,
/external/icu/libicu/cts_headers/
Ddouble-conversion-double-to-string.h224 int requested_digits,
256 int requested_digits,
367 int requested_digits,
Ddouble-conversion-bignum-dtoa.h93 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits,
Ddouble-conversion-fast-dtoa.h95 int requested_digits,