jeffhao | 5d1ac92 | 2011-09-29 17:41:15 -0700 | [diff] [blame] | 1 | |
| 2 | Double.POSITIVE_INFINITY = 7ff0000000000000 |
| 3 | Double.NEGATIVE_INFINITY = fff0000000000000 |
| 4 | Float.POSITIVE_INFINITY = 7ff0000000000000 |
| 5 | Float.NEGATIVE_INFINITY = fff0000000000000 |
| 6 | Double.NaN = 7ff8000000000000 |
| 7 | Float.NaN = 7ff8000000000000 |
| 8 | |
| 9 | (byte) Double.NaN = 00 expected: 00 |
| 10 | (short) Double.NaN = 0000 expected: 0000 |
| 11 | (int) Double.NaN = 00000000 expected: 00000000 |
| 12 | (long) Double.NaN = 0000000000000000 expected: 0000000000000000 |
| 13 | |
| 14 | (byte) Float.NaN = 00 expected: 00 |
| 15 | (short) Float.NaN = 0000 expected: 0000 |
| 16 | (int) Float.NaN = 00000000 expected: 00000000 |
| 17 | (long) Float.NaN = 0000000000000000 expected: 0000000000000000 |
| 18 | |
| 19 | (byte) Double.POSITIVE_INFINITY = ff expected: ff |
| 20 | (short) Double.POSITIVE_INFINITY = ffff expected: ffff |
| 21 | (int) Double.POSITIVE_INFINITY = 7fffffff expected: 7fffffff |
| 22 | (long) Double.POSITIVE_INFINITY = 7fffffffffffffff expected: 7fffffffffffffff |
| 23 | |
| 24 | (byte) Double.NEGATIVE_INFINITY = 00 expected: 00 |
| 25 | (short) Double.NEGATIVE_INFINITY = 0000 expected: 0000 |
| 26 | (int) Double.NEGATIVE_INFINITY = 80000000 expected: 80000000 |
| 27 | (long) Double.NEGATIVE_INFINITY = 8000000000000000 expected: 8000000000000000 |
| 28 | |
| 29 | (byte) Float.POSITIVE_INFINITY = ff expected: ff |
| 30 | (short) Float.POSITIVE_INFINITY = ffff expected: ffff |
| 31 | (int) Float.POSITIVE_INFINITY = 7fffffff expected: 7fffffff |
| 32 | (long) Float.POSITIVE_INFINITY = 7fffffffffffffff expected: 7fffffffffffffff |
| 33 | |
| 34 | (byte) Float.NEGATIVE_INFINITY = 00 expected: 00 |
| 35 | (short) Float.NEGATIVE_INFINITY = 0000 expected: 0000 |
| 36 | (int) Float.NEGATIVE_INFINITY = 80000000 expected: 80000000 |
| 37 | (long) Float.NEGATIVE_INFINITY = 8000000000000000 expected: 8000000000000000 |
| 38 | |