Home
last modified time | relevance | path

Searched refs:significant_digits (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/
Dconversions-inl.h519 int significant_digits = 0; in InternalStringToDouble() local
615 if (significant_digits < kMaxSignificantDigits) { in InternalStringToDouble()
618 significant_digits++; in InternalStringToDouble()
629 if (significant_digits == 0) { in InternalStringToDouble()
639 if (significant_digits == 0 && !leading_zero) { in InternalStringToDouble()
646 if (significant_digits == 0) { in InternalStringToDouble()
660 if (significant_digits < kMaxSignificantDigits) { in InternalStringToDouble()
663 significant_digits++; in InternalStringToDouble()
674 if (!leading_zero && exponent == 0 && significant_digits == 0) { in InternalStringToDouble()
Dconversions.cc271 int significant_digits) { in CreateExponentialRepresentation() argument
281 unsigned result_size = significant_digits + 7; in CreateExponentialRepresentation()
286 if (significant_digits != 1) { in CreateExponentialRepresentation()
290 builder.AddPadding('0', significant_digits - rep_length); in CreateExponentialRepresentation()