Home | History | Annotate | Download | only in src

Lines Matching refs:Math

23     return Math.round(f);
30 return Math.round(d);
52 expectEquals32(-2147483648, round32(Math.nextAfter(-2147483648.0f, Float.NEGATIVE_INFINITY)));
54 expectEquals32(-2147483520, round32(Math.nextAfter(-2147483648.0f, Float.POSITIVE_INFINITY)));
57 expectEquals32(2147483520, round32(Math.nextAfter(2147483648.0f, Float.NEGATIVE_INFINITY)));
59 expectEquals32(2147483647, round32(Math.nextAfter(2147483648.0f, Float.POSITIVE_INFINITY)));
69 for (float f = -1.5f; f <= -1.499f; f = Math.nextAfter(f, Float.POSITIVE_INFINITY)) {
132 round64(Math.nextAfter(-9223372036854775808.0, Double.NEGATIVE_INFINITY)));
135 round64(Math.nextAfter(-9223372036854775809.0, Double.POSITIVE_INFINITY)));
139 round64(Math.nextAfter(9223372036854775808.0, Double.NEGATIVE_INFINITY)));
142 round64(Math.nextAfter(9223372036854775808.0, Double.POSITIVE_INFINITY)));
152 for (double d = -1.5d; d <= -1.49999999999d; d = Math.nextAfter(d, Double.POSITIVE_INFINITY)) {