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

Unified Diff: runtime/vm/double_conversion.h

Issue 13529014: Use locale insensitive method to parse double literals. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address Srdjan's comments Created 7 years, 8 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
Index: runtime/vm/double_conversion.h
diff --git a/runtime/vm/double_conversion.h b/runtime/vm/double_conversion.h
index c4f584d4fc4719b22eab02c71f29103595aa8d85..ded82a454f117fe0b35d0d5c44aa86bfaf8e2de0 100644
--- a/runtime/vm/double_conversion.h
+++ b/runtime/vm/double_conversion.h
@@ -15,6 +15,8 @@ RawString* DoubleToStringAsFixed(double d, int fraction_digits);
RawString* DoubleToStringAsExponential(double d, int fraction_digits);
RawString* DoubleToStringAsPrecision(double d, int precision);
+bool CStringToDouble(const char* str, intptr_t length, double* result);
+
} // namespace dart
#endif // VM_DOUBLE_CONVERSION_H_

Powered by Google App Engine
This is Rietveld 408576698