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

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: 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..faa51e33524f0bd1d990ef23ae46d711b04b21e0 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 StringToDouble(const char* str, intptr_t length, double* result);
srdjan 2013/04/05 16:42:02 s/StringToDouble/CStringToDouble/
Vyacheslav Egorov (Google) 2013/04/05 17:01:05 Done.
+
} // namespace dart
#endif // VM_DOUBLE_CONVERSION_H_
« no previous file with comments | « runtime/lib/double.cc ('k') | runtime/vm/double_conversion.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698