Lines Matching refs:trimmed
98 // The input buffer has been trimmed. Therefore the last digit must be
153 static bool DoubleStrtod(Vector<const char> trimmed,
167 if (trimmed.length() <= kMaxExactDoubleIntegerDecimalDigits) {
169 // The trimmed input fits into a double.
177 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
178 ASSERT(read_digits == trimmed.length());
184 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
185 ASSERT(read_digits == trimmed.length());
190 kMaxExactDoubleIntegerDecimalDigits - trimmed.length();
193 // The trimmed string was short and we can multiply it with
196 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
197 ASSERT(read_digits == trimmed.length());
397 Vector<const char> trimmed = TrimTrailingZeros(left_trimmed);
398 exponent += left_trimmed.length() - trimmed.length();
399 if (trimmed.length() == 0) return 0.0;
400 if (trimmed.length() > kMaxSignificantDecimalDigits) {
403 TrimToMaxSignificantDigits(trimmed, exponent,
409 if (exponent + trimmed.length() - 1 >= kMaxDecimalPower) return V8_INFINITY;
410 if (exponent + trimmed.length() <= kMinDecimalPower) return 0.0;
413 if (DoubleStrtod(trimmed, exponent, &guess) ||
414 DiyFpStrtod(trimmed, exponent, &guess)) {
417 return BignumStrtod(trimmed, exponent, guess);