Lines Matching refs:trimmed
100 // The input buffer has been trimmed. Therefore the last digit must be
155 static bool DoubleStrtod(Vector<const char> trimmed,
169 if (trimmed.length() <= kMaxExactDoubleIntegerDecimalDigits) {
171 // The trimmed input fits into a double.
179 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
180 DCHECK(read_digits == trimmed.length());
186 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
187 DCHECK(read_digits == trimmed.length());
192 kMaxExactDoubleIntegerDecimalDigits - trimmed.length();
195 // The trimmed string was short and we can multiply it with
198 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
199 DCHECK(read_digits == trimmed.length());
399 Vector<const char> trimmed = TrimTrailingZeros(left_trimmed);
400 exponent += left_trimmed.length() - trimmed.length();
401 if (trimmed.length() == 0) return 0.0;
402 if (trimmed.length() > kMaxSignificantDecimalDigits) {
405 TrimToMaxSignificantDigits(trimmed, exponent,
411 if (exponent + trimmed.length() - 1 >= kMaxDecimalPower) return V8_INFINITY;
412 if (exponent + trimmed.length() <= kMinDecimalPower) return 0.0;
415 if (DoubleStrtod(trimmed, exponent, &guess) ||
416 DiyFpStrtod(trimmed, exponent, &guess)) {
419 return BignumStrtod(trimmed, exponent, guess);