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

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: Revert mintmaker changes. Created 8 years, 11 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 a8f91114a055f819c02f949fd517e4369c67edfa..093a1d64e11d10ce746101b219decee4f5460d7f 100644
--- a/runtime/vm/double_conversion.h
+++ b/runtime/vm/double_conversion.h
@@ -10,6 +10,8 @@
namespace dart {
+bool DoubleToCString(double d, char* buffer, int buffer_size,
+ int* result_length);
bool DoubleToString(double d, String& result);
Ivan Posva 2012/01/26 00:35:39 Please change this to return a RawString* and don'
floitsch 2012/01/27 12:51:07 Done.
bool DoubleToStringAsFixed(double d, int fraction_digits, String& result);
bool DoubleToStringAsExponential(double d, int fraction_digits, String& result);

Powered by Google App Engine
This is Rietveld 408576698