Lines Matching defs:trimmed
97 // The input buffer has been trimmed. Therefore the last digit must be
148 static bool DoubleStrtod(Vector<const char> trimmed, int exponent,
163 if (trimmed.length() <= kMaxExactDoubleIntegerDecimalDigits) {
165 // The trimmed input fits into a double.
173 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
174 DCHECK(read_digits == trimmed.length());
180 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
181 DCHECK(read_digits == trimmed.length());
186 kMaxExactDoubleIntegerDecimalDigits - trimmed.length();
189 // The trimmed string was short and we can multiply it with
192 *result = static_cast<double>(ReadUint64(trimmed, &read_digits));
193 DCHECK(read_digits == trimmed.length());
393 Vector<const char> trimmed = TrimTrailingZeros(left_trimmed);
394 exponent += left_trimmed.length() - trimmed.length();
395 if (trimmed.length() == 0) return 0.0;
396 if (trimmed.length() > kMaxSignificantDecimalDigits) {
399 TrimToMaxSignificantDigits(trimmed, exponent, significant_buffer,
405 if (exponent + trimmed.length() - 1 >= kMaxDecimalPower)
407 if (exponent + trimmed.length() <= kMinDecimalPower) return 0.0;
410 if (DoubleStrtod(trimmed, exponent, &guess) ||
411 DiyFpStrtod(trimmed, exponent, &guess)) {
414 return BignumStrtod(trimmed, exponent, guess);