Lines Matching refs:trimmed
121 // The input buffer has been trimmed. Therefore the last digit must be
175 static bool DoubleStrtod(Vector<const char> trimmed,
187 if (trimmed.length() <= kMaxExactDoubleIntegerDecimalDigits) {
189 // The trimmed input fits into a double.
197 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
198 ASSERT(read_digits == trimmed.length());
204 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
205 ASSERT(read_digits == trimmed.length());
210 kMaxExactDoubleIntegerDecimalDigits - trimmed.length();
213 // The trimmed string was short and we can multiply it with
216 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
217 ASSERT(read_digits == trimmed.length());
417 Vector<const char> trimmed = TrimTrailingZeros(left_trimmed);
418 exponent += left_trimmed.length() - trimmed.length();
419 if (trimmed
420 if (trimmed.length() > kMaxSignificantDecimalDigits) {
423 TrimToMaxSignificantDigits(trimmed, exponent,
429 if (exponent + trimmed.length() - 1 >= kMaxDecimalPower) return V8_INFINITY;
430 if (exponent + trimmed.length() <= kMinDecimalPower) return 0.0;
433 if (DoubleStrtod(trimmed, exponent, &guess) ||
434 DiyFpStrtod(trimmed, exponent, &guess)) {
437 return BignumStrtod(trimmed, exponent, guess);