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