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

Side by Side Diff: test/dart_codegen/expect/core/double.dart

Issue 959913003: cleanup patch generation to preseve comments and remove @patch (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « test/dart_codegen/expect/core/date_time.dart ('k') | test/dart_codegen/expect/core/errors.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 part of dart.core; 1 part of dart.core;
2 2
3 abstract class double extends num { 3 abstract class double extends num {
4 static const double NAN = 0.0 / 0.0; 4 static const double NAN = 0.0 / 0.0;
5 static const double INFINITY = 1.0 / 0.0; 5 static const double INFINITY = 1.0 / 0.0;
6 static const double NEGATIVE_INFINITY = -INFINITY; 6 static const double NEGATIVE_INFINITY = -INFINITY;
7 static const double MIN_POSITIVE = 5e-324; 7 static const double MIN_POSITIVE = 5e-324;
8 static const double MAX_FINITE = 1.7976931348623157e+308; 8 static const double MAX_FINITE = 1.7976931348623157e+308;
9 double remainder(num other); 9 double remainder(num other);
10 double operator +(num other); 10 double operator +(num other);
11 double operator -(num other); 11 double operator -(num other);
12 double operator *(num other); 12 double operator *(num other);
13 double operator %(num other); 13 double operator %(num other);
14 double operator /(num other); 14 double operator /(num other);
15 int operator ~/(num other); 15 int operator ~/(num other);
16 double operator -(); 16 double operator -();
17 double abs(); 17 double abs();
18 double get sign; 18 double get sign;
19 int round(); 19 int round();
20 int floor(); 20 int floor();
21 int ceil(); 21 int ceil();
22 int truncate(); 22 int truncate();
23 double roundToDouble(); 23 double roundToDouble();
24 double floorToDouble(); 24 double floorToDouble();
25 double ceilToDouble(); 25 double ceilToDouble();
26 double truncateToDouble(); 26 double truncateToDouble();
27 String toString(); 27 String toString();
28 @patch static double parse(String source, [double onError(String source)]) { 28 static double parse(String source, [double onError(String source)]) {
29 return ((__x10) => DDC$RT.cast(__x10, dynamic, double, "CastGeneral", 29 return ((__x10) => DDC$RT.cast(__x10, dynamic, double, "CastGeneral",
30 """line 173, column 12 of dart:core/double.dart: """, __x10 is double, 30 """line 206, column 12 of dart:core/double.dart: """, __x10 is double,
31 true))(Primitives.parseDouble(source, onError)); 31 true))(Primitives.parseDouble(source, onError));
32 } 32 }
33 } 33 }
OLDNEW
« no previous file with comments | « test/dart_codegen/expect/core/date_time.dart ('k') | test/dart_codegen/expect/core/errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698