Searched refs:f2int (Results 1 – 1 of 1) sorted by relevance
29 private static int f2int(float f) { in f2int() method in Main49 expectEquals32(0xff800000, f2int(Float.NEGATIVE_INFINITY)); in main()50 expectEquals32(0xbf800000, f2int(-1.0f)); in main()51 expectEquals32(0x80000000, f2int(-0.0f)); in main()52 expectEquals32(0x00000000, f2int(+0.0f)); in main()53 expectEquals32(0x3f800000, f2int(+1.0f)); in main()54 expectEquals32(0x7f800000, f2int(Float.POSITIVE_INFINITY)); in main()58 expectEquals32(i, f2int(Float.intBitsToFloat(i))); in main()73 expectEquals32(0x7fc00000, f2int(fvals[i])); in main()