Home
last modified time | relevance | path

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

/art/test/580-checker-round/src/
DMain.java29 private static long round64(double d) { in round64() method in Main
114 expectEquals64(-9223372036854775808L, round64(Double.NEGATIVE_INFINITY)); in main()
115 expectEquals64(-2L, round64(-1.51d)); in main()
116 expectEquals64(-1L, round64(-1.2d)); in main()
117 expectEquals64(-1L, round64(-1.0d)); in main()
118 expectEquals64(-1L, round64(-0.5000001f)); in main()
119 expectEquals64(0L, round64(-0.5d)); in main()
120 expectEquals64(0L, round64(-0.2d)); in main()
121 expectEquals64(0L, round64(-0.0d)); in main()
122 expectEquals64(0L, round64(+0.0d)); in main()
[all …]