Home | History | Annotate | Download | only in src

Lines Matching refs:expectEquals32

35     expectEquals32(-2147483648, round32(Float.NEGATIVE_INFINITY));
36 expectEquals32(-2, round32(-1.51f));
37 expectEquals32(-1, round32(-1.2f));
38 expectEquals32(-1, round32(-1.0f));
39 expectEquals32(-1, round32(-0.5000001f));
40 expectEquals32(0, round32(-0.5f));
41 expectEquals32(0, round32(-0.2f));
42 expectEquals32(0, round32(-0.0f));
43 expectEquals32(0, round32(+0.0f));
44 expectEquals32(0, round32(+0.2f));
45 expectEquals32(1, round32(+0.5f));
46 expectEquals32(1, round32(+1.0f));
47 expectEquals32(1, round32(+1.2f));
48 expectEquals32(2, round32(+1.5f));
49 expectEquals32(2147483647, round32(Float.POSITIVE_INFINITY));
52 expectEquals32(-2147483648, round32(Math.nextAfter(-2147483648.0f, Float.NEGATIVE_INFINITY)));
53 expectEquals32(-2147483648, round32(-2147483648.0f));
54 expectEquals32(-2147483520, round32(Math.nextAfter(-2147483648.0f, Float.POSITIVE_INFINITY)));
57 expectEquals32(2147483520, round32(Math.nextAfter(2147483648.0f, Float.NEGATIVE_INFINITY)));
58 expectEquals32(2147483647, round32(2147483648.0f));
59 expectEquals32(2147483647, round32(Math.nextAfter(2147483648.0f, Float.POSITIVE_INFINITY)));
63 expectEquals32(i - 1, round32((float) i - 0.51f));
64 expectEquals32(i, round32((float) i - 0.5f));
65 expectEquals32(i, round32((float) i));
66 expectEquals32(i + 1, round32((float) i + 0.5f));
67 expectEquals32(i + 1, round32((float) i + 0.51f));
70 expectEquals32(-1, round32(f));
95 expectEquals32(ivals[i], round32(fvals[i]));
110 expectEquals32(0, round32(fnans[i]));
199 private static void expectEquals32(int expected, int result) {