Updated to latest double-conversion library version.
Review URL: http://codereview.chromium.org//9001001 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2601 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
@@ -7,3 +7,4 @@
|
||||
Google Inc.
|
||||
|
||||
Jeff Muizelaar <jmuizelaar@mozilla.com>
|
||||
Martin Olsson <mnemo@minimum.se>
|
||||
|
||||
+1
-3
@@ -1,5 +1,5 @@
|
||||
URL: http://code.google.com/p/double-conversion/
|
||||
Version: d7a1ee5a309c ('Merge in "Reduce static" branch.').
|
||||
Version: c8b89fb5c5b4 ('Merge in branch unused.').
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
@@ -9,5 +9,3 @@ for v8.
|
||||
|
||||
Local Modifications:
|
||||
Removed the test directory, the Makefile and the scons-files.
|
||||
Wrapped ASSERT, UNIMPLEMENTED and UNREACHABLE macros into #ifndef.
|
||||
Changed memcpy to memmove.
|
||||
|
||||
@@ -604,7 +604,6 @@ double StringToDoubleConverter::StringToDouble(
|
||||
int significant_digits = 0;
|
||||
int insignificant_digits = 0;
|
||||
bool nonzero_digit_dropped = false;
|
||||
bool fractional_part = false;
|
||||
|
||||
bool sign = false;
|
||||
|
||||
@@ -748,10 +747,8 @@ double StringToDoubleConverter::StringToDouble(
|
||||
}
|
||||
}
|
||||
|
||||
// We don't emit a '.', but adjust the exponent instead.
|
||||
fractional_part = true;
|
||||
|
||||
// There is a fractional part.
|
||||
// We don't emit a '.', but adjust the exponent instead.
|
||||
while (*current >= '0' && *current <= '9') {
|
||||
if (significant_digits < kMaxSignificantDigits) {
|
||||
ASSERT(buffer_pos < kBufferSize);
|
||||
|
||||
Reference in New Issue
Block a user