blob: 93b85901cfa6d6297d1efd8450c0ed63b9bad403 [file] [log] [blame]
jeffhao5d1ac922011-09-29 17:41:15 -07001
2Double.POSITIVE_INFINITY = 7ff0000000000000
3Double.NEGATIVE_INFINITY = fff0000000000000
4Float.POSITIVE_INFINITY = 7ff0000000000000
5Float.NEGATIVE_INFINITY = fff0000000000000
6Double.NaN = 7ff8000000000000
7Float.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