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

Unified Diff: tool/input_sdk/lib/core/num.dart

Issue 1956993003: Update native_typed_data (Closed) Base URL: https://github.com/dart-lang/dev_compiler@master
Patch Set: Created 4 years, 7 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 | « tool/input_sdk/lib/core/annotations.dart ('k') | tool/input_sdk/patch/typed_data_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/lib/core/num.dart
diff --git a/tool/input_sdk/lib/core/num.dart b/tool/input_sdk/lib/core/num.dart
index 00e7a45578d54cd81e591317400f08808e5c8d02..21f23eef18321ab7fc4b59aa397cdbb7ead0b0d6 100644
--- a/tool/input_sdk/lib/core/num.dart
+++ b/tool/input_sdk/lib/core/num.dart
@@ -374,8 +374,8 @@ abstract class num implements Comparable<num> {
* 1234567.toStringAsPrecision(9); // 1234567.00
* 12345678901234567890.toStringAsPrecision(20); // 12345678901234567168
* 12345678901234567890.toStringAsPrecision(14); // 1.2345678901235e+19
- * 0.00000012345.toPrecision(15); // 1.23450000000000e-7
- * 0.0000012345.toPrecision(15); // 0.00000123450000000000
+ * 0.00000012345.toStringAsPrecision(15); // 1.23450000000000e-7
+ * 0.0000012345.toStringAsPrecision(15); // 0.00000123450000000000
*/
String toStringAsPrecision(int precision);
« no previous file with comments | « tool/input_sdk/lib/core/annotations.dart ('k') | tool/input_sdk/patch/typed_data_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698