Home
last modified time | relevance | path

Searched refs:expectEquals64 (Results 1 – 3 of 3) sorted by relevance

/art/test/580-checker-round/src/
DMain.java97 expectEquals64(-9223372036854775808L, round64(Double.NEGATIVE_INFINITY)); in main()
98 expectEquals64(-2L, round64(-1.51d)); in main()
99 expectEquals64(-1L, round64(-1.2d)); in main()
100 expectEquals64(-1L, round64(-1.0d)); in main()
101 expectEquals64(-1L, round64(-0.51d)); in main()
102 expectEquals64(0L, round64(-0.2d)); in main()
103 expectEquals64(0L, round64(-0.0d)); in main()
104 expectEquals64(0L, round64(+0.0d)); in main()
105 expectEquals64(0L, round64(+0.2d)); in main()
106 expectEquals64(1L, round64(+0.5d)); in main()
[all …]
/art/test/568-checker-onebit/src/
DMain.java71 expectEquals64(0x0000000000000000L, hi64(0x0000000000000000L)); in main()
72 expectEquals64(0x0000000000000000L, lo64(0x0000000000000000L)); in main()
73 expectEquals64(0x0000000100000000L, hi64(0x0000000100000000L)); in main()
74 expectEquals64(0x0000000100000000L, lo64(0x0000000100000000L)); in main()
75 expectEquals64(0x0000008000000000L, hi64(0x000000FF00000000L)); in main()
76 expectEquals64(0x0000000100000000L, lo64(0x000000FF00000000L)); in main()
77 expectEquals64(0x8000000000000000L, hi64(0xFFFFFFFFFFFFFFFFL)); in main()
78 expectEquals64(0x0000000000000001L, lo64(0xFFFFFFFFFFFFFFFFL)); in main()
81 expectEquals64(0L, hi64(xj[i])); in main()
82 expectEquals64(0L, lo64(xj[i])); in main()
[all …]
/art/test/577-checker-fp2int/src/
DMain.java77 expectEquals64(0xfff0000000000000L, d2long(Double.NEGATIVE_INFINITY)); in main()
78 expectEquals64(0xbff0000000000000L, d2long(-1.0d)); in main()
79 expectEquals64(0x8000000000000000L, d2long(-0.0d)); in main()
80 expectEquals64(0x0000000000000000L, d2long(+0.0d)); in main()
81 expectEquals64(0x3ff0000000000000L, d2long(+1.0d)); in main()
82 expectEquals64(0x7ff0000000000000L, d2long(Double.POSITIVE_INFINITY)); in main()
86 expectEquals64(l, d2long(Double.longBitsToDouble(l))); in main()
101 expectEquals64(0x7ff8000000000000L, d2long(dvals[i])); in main()
116 private static void expectEquals64(long expected, long result) { in expectEquals64() method in Main