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:
floitsch@google.com
2011-12-19 23:29:37 +00:00
parent 09061281f7
commit 173ffa2012
3 changed files with 3 additions and 7 deletions
+1
View File
@@ -7,3 +7,4 @@
Google Inc.
Jeff Muizelaar <jmuizelaar@mozilla.com>
Martin Olsson <mnemo@minimum.se>
+1 -3
View File
@@ -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);