Home
last modified time | relevance | path

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

12

/third_party/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.h276 int requested_digits,
310 int requested_digits,
416 int requested_digits,
Ddouble-conversion-bignum-dtoa.h93 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits,
/third_party/icu/vendor/double-conversion/upstream/double-conversion/
Ddouble-to-string.cc206 int requested_digits, in ToFixed() argument
215 if (requested_digits > kMaxFixedDigitsAfterPoint) return false; in ToFixed()
226 DoubleToAscii(value, FIXED, requested_digits, in ToFixed()
236 requested_digits, result_builder); in ToFixed()
243 int requested_digits, in ToExponential() argument
249 if (requested_digits < -1) return false; in ToExponential()
250 if (requested_digits > kMaxExponentialDigits) return false; in ToExponential()
266 if (requested_digits == -1) { in ToExponential()
271 DoubleToAscii(value, PRECISION, requested_digits + 1, in ToExponential()
274 DOUBLE_CONVERSION_ASSERT(decimal_rep_length <= requested_digits + 1); in ToExponential()
[all …]
Dbignum-dtoa.cc77 static void BignumToFixed(int requested_digits, int* decimal_point,
89 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits, in BignumDtoa() argument
119 if (mode == BIGNUM_DTOA_FIXED && -estimated_power - 1 > requested_digits) { in BignumDtoa()
125 *decimal_point = -requested_digits; in BignumDtoa()
156 BignumToFixed(requested_digits, decimal_point, in BignumDtoa()
161 GenerateCountedDigits(requested_digits, decimal_point, in BignumDtoa()
326 static void BignumToFixed(int requested_digits, int* decimal_point, in BignumToFixed() argument
332 if (-(*decimal_point) > requested_digits) { in BignumToFixed()
338 *decimal_point = -requested_digits; in BignumToFixed()
341 } else if (-(*decimal_point) == requested_digits) { in BignumToFixed()
[all …]
Dfast-dtoa.cc429 int requested_digits, in DigitGenCounted() argument
464 requested_digits--; in DigitGenCounted()
469 if (requested_digits == 0) break; in DigitGenCounted()
473 if (requested_digits == 0) { in DigitGenCounted()
490 while (requested_digits > 0 && fractionals > w_error) { in DigitGenCounted()
498 requested_digits--; in DigitGenCounted()
502 if (requested_digits != 0) return false; in DigitGenCounted()
592 int requested_digits, in Grisu3Counted() argument
628 bool result = DigitGenCounted(scaled_w, requested_digits, in Grisu3Counted()
637 int requested_digits, in FastDtoa() argument
[all …]
Ddouble-to-string.h261 int requested_digits,
295 int requested_digits,
399 int requested_digits,
Dbignum-dtoa.h79 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits,
Dfast-dtoa.h81 int requested_digits,
/third_party/node/deps/icu-small/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.h276 int requested_digits,
310 int requested_digits,
416 int requested_digits,
Ddouble-conversion-bignum-dtoa.h93 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits,
/third_party/skia/third_party/externals/icu/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.h276 int requested_digits,
310 int requested_digits,
416 int requested_digits,
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
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.cpp215 int requested_digits,
224 if (requested_digits > kMaxFixedDigitsAfterPoint) return false;
235 DoubleToAscii(value, FIXED, requested_digits,
245 requested_digits, result_builder);
252 int requested_digits,
258 if (requested_digits < -1) return false;
259 if (requested_digits > kMaxExponentialDigits) return false;
269 if (requested_digits == -1) {
274 DoubleToAscii(value, PRECISION, requested_digits + 1,
277 ASSERT(decimal_rep_length <= requested_digits + 1);
[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.h216 int requested_digits,
248 int requested_digits,
354 int requested_digits,
Ddouble-conversion-bignum-dtoa.h93 void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits,

12