Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: src/conversions.cc

Issue 3582017: Revert strtod fast-case change (r5603) because of Windows compilation... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/strtod.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/conversions.cc
===================================================================
--- src/conversions.cc (revision 5603)
+++ src/conversions.cc (working copy)
@@ -354,7 +354,7 @@
ASSERT(buffer_pos < kBufferSize);
buffer[buffer_pos] = '\0';
Vector<char> buffer_vector(buffer, buffer_pos);
- return sign ? -Strtod(buffer_vector, 0) : Strtod(buffer_vector, 0);
+ return sign ? -strtod(buffer_vector, NULL) : strtod(buffer_vector, NULL);
}
// The following code causes accumulating rounding error for numbers greater
@@ -653,7 +653,7 @@
ASSERT(buffer_pos < kBufferSize);
buffer[buffer_pos] = '\0';
- double converted = Strtod(Vector<char>(buffer, buffer_pos), exponent);
+ double converted = strtod(Vector<char>(buffer, buffer_pos), exponent);
return sign? -converted: converted;
}
« no previous file with comments | « no previous file | src/strtod.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698