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

Unified Diff: runtime/vm/double_conversion.h

Issue 9113043: Implement Double.{toString, toStringAsExponential, toStringAsPrecision} (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated status files. Created 8 years, 10 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 | « runtime/lib/double.dart ('k') | runtime/vm/double_conversion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/double_conversion.h
diff --git a/runtime/vm/double_conversion.h b/runtime/vm/double_conversion.h
index a8f91114a055f819c02f949fd517e4369c67edfa..c4f584d4fc4719b22eab02c71f29103595aa8d85 100644
--- a/runtime/vm/double_conversion.h
+++ b/runtime/vm/double_conversion.h
@@ -10,10 +10,10 @@
namespace dart {
-bool DoubleToString(double d, String& result);
-bool DoubleToStringAsFixed(double d, int fraction_digits, String& result);
-bool DoubleToStringAsExponential(double d, int fraction_digits, String& result);
-bool DoubleToStringAsPrecision(double d, int precision, String& result);
+void DoubleToCString(double d, char* buffer, int buffer_size);
+RawString* DoubleToStringAsFixed(double d, int fraction_digits);
+RawString* DoubleToStringAsExponential(double d, int fraction_digits);
+RawString* DoubleToStringAsPrecision(double d, int precision);
} // namespace dart
« no previous file with comments | « runtime/lib/double.dart ('k') | runtime/vm/double_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698