| Index: src/strtod.cc
|
| diff --git a/src/strtod.cc b/src/strtod.cc
|
| index dfe2fb73594ec5520da701548424edf371fcf1d2..d332fd2bc4d18a01c0aa3fbf890d207f84285ef2 100644
|
| --- a/src/strtod.cc
|
| +++ b/src/strtod.cc
|
| @@ -128,6 +128,7 @@ static void TrimToMaxSignificantDigits(Vector<const char> buffer,
|
| exponent + (buffer.length() - kMaxSignificantDecimalDigits);
|
| }
|
|
|
| +
|
| // Reads digits from the buffer and converts them to a uint64.
|
| // Reads in as many digits as fit into a uint64.
|
| // When the string starts with "1844674407370955161" no further digit is read.
|
| @@ -175,8 +176,7 @@ static void ReadDiyFp(Vector<const char> buffer,
|
| static bool DoubleStrtod(Vector<const char> trimmed,
|
| int exponent,
|
| double* result) {
|
| -#if (defined(V8_TARGET_ARCH_IA32) || defined(USE_SIMULATOR)) \
|
| - && !defined(_MSC_VER)
|
| +#if (V8_TARGET_ARCH_IA32 || defined(USE_SIMULATOR)) && !defined(_MSC_VER)
|
| // On x86 the floating-point stack can be 64 or 80 bits wide. If it is
|
| // 80 bits wide (as is the case on Linux) then double-rounding occurs and the
|
| // result is not accurate.
|
|
|