Index: tests/corelib/num_sign_test.dart |
diff --git a/tests/corelib/num_sign_test.dart b/tests/corelib/num_sign_test.dart |
index 3976f76f72c478a0b11536d0dd55a202f174e50c..9bfa4b157d8530804474c38ca97515a1ed4cac50 100644 |
--- a/tests/corelib/num_sign_test.dart |
+++ b/tests/corelib/num_sign_test.dart |
@@ -25,31 +25,31 @@ var numbers = [ |
0, |
1, |
2, |
- 0x7f, // ~7 bits |
+ 0x7f, // ~7 bits |
0x80, |
- 0xff, // ~8 bits |
+ 0xff, // ~8 bits |
0x100, |
- 0xffff, // ~16 bits |
+ 0xffff, // ~16 bits |
0x10000, |
- 0x3fffffff, // ~30 bits (max positive 32-bit tagged smi) |
+ 0x3fffffff, // ~30 bits (max positive 32-bit tagged smi) |
0x40000000, |
0x40000001, |
- 0x7fffffff, // ~31 bits |
+ 0x7fffffff, // ~31 bits |
0x80000000, |
0x80000001, |
- 0xfffffffff, // ~32 bits |
+ 0xfffffffff, // ~32 bits |
0x100000000, |
0x100000001, |
- 0x10000000000000, // ~53 bits |
+ 0x10000000000000, // ~53 bits |
0x10000000000001, |
0x1fffffffffffff, |
0x20000000000000, |
- 0x20000000000001, // first integer not representable as double. |
+ 0x20000000000001, // first integer not representable as double. |
0x20000000000002, |
- 0x7fffffffffffffff, // ~63 bits |
+ 0x7fffffffffffffff, // ~63 bits |
0x8000000000000000, |
0x8000000000000001, |
- 0xffffffffffffffff, // ~64 bits |
+ 0xffffffffffffffff, // ~64 bits |
0x10000000000000000, |
0x10000000000000001, |
// Integers around the max-double range (2^1024, ~1025 bits). |
@@ -58,24 +58,24 @@ var numbers = [ |
0x10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, |
// Doubles. |
0.0, |
- 5e-324, // min positive |
- 2.225073858507201e-308, // max denormal |
+ 5e-324, // min positive |
+ 2.225073858507201e-308, // max denormal |
2.2250738585072014e-308, // min normal |
sra1
2017/03/21 03:39:29
fix
|
- 0.49999999999999994, // ~0.5 |
+ 0.49999999999999994, // ~0.5 |
0.5, |
0.5000000000000001, |
- 0.9999999999999999, // ~1.0 |
+ 0.9999999999999999, // ~1.0 |
1.0, |
1.0000000000000002, |
- 4294967295.0, // ~32 bits |
+ 4294967295.0, // ~32 bits |
4294967296.0, |
- 4503599627370495.5, // max fractional |
+ 4503599627370495.5, // max fractional |
4503599627370497.0, |
9007199254740991.0, |
- 9007199254740992.0, // max exact (+1 is not a double) |
+ 9007199254740992.0, // max exact (+1 is not a double) |
1.7976931348623157e+308, // max finite double |
sra1
2017/03/21 03:39:29
fix
|
- 1.0 / 0.0, // Infinity |
- 0.0 / 0.0, // NaN |
+ 1.0 / 0.0, // Infinity |
+ 0.0 / 0.0, // NaN |
]; |
main() { |