Searched refs:round32 (Results 1 – 1 of 1) sorted by relevance
22 private static int round32(float f) { in round32() method in Main35 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()[all …]