File tree 1 file changed +7
-0
lines changed
pkg/analyzer/lib/src/test_utilities 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -318,12 +318,19 @@ class pragma {
318
318
}
319
319
320
320
abstract class double extends num {
321
+ // TODO: remove these old constants when no tests rely on them.
321
322
static const double NAN = 0.0 / 0.0;
322
323
static const double INFINITY = 1.0 / 0.0;
323
324
static const double NEGATIVE_INFINITY = -INFINITY;
324
325
static const double MIN_POSITIVE = 5e-324;
325
326
static const double MAX_FINITE = 1.7976931348623157e+308;
326
327
328
+ static const double nan = 0.0 / 0.0;
329
+ static const double infinity = 1.0 / 0.0;
330
+ static const double negativeInfinity = -infinity;
331
+ static const double minPositive = 5e-324;
332
+ static const double maxFinite = 1.7976931348623157e+308;
333
+
327
334
double get sign;
328
335
double operator %(num other);
329
336
double operator *(num other);
You can’t perform that action at this time.
0 commit comments