Home | History | Annotate | Download | only in src

Lines Matching refs:trimmed

99   // The input buffer has been trimmed. Therefore the last digit must be
154 static bool DoubleStrtod(Vector<const char> trimmed,
168 if (trimmed.length() <= kMaxExactDoubleIntegerDecimalDigits) {
170 // The trimmed input fits into a double.
178 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
179 DCHECK(read_digits == trimmed.length());
185 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
186 DCHECK(read_digits == trimmed.length());
191 kMaxExactDoubleIntegerDecimalDigits - trimmed.length();
194 // The trimmed string was short and we can multiply it with
197 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
198 DCHECK(read_digits == trimmed.length());
398 Vector<const char> trimmed = TrimTrailingZeros(left_trimmed);
399 exponent += left_trimmed.length() - trimmed.length();
400 if (trimmed.length() == 0) return 0.0;
401 if (trimmed.length() > kMaxSignificantDecimalDigits) {
404 TrimToMaxSignificantDigits(trimmed, exponent,
410 if (exponent + trimmed.length() - 1 >= kMaxDecimalPower) return V8_INFINITY;
411 if (exponent + trimmed.length() <= kMinDecimalPower) return 0.0;
414 if (DoubleStrtod(trimmed, exponent, &guess) ||
415 DiyFpStrtod(trimmed, exponent, &guess)) {
418 return BignumStrtod(trimmed, exponent, guess);