Searched refs:intToFloat (Results 1 – 1 of 1) sorted by relevance
680 Method intToFloat = numericCastingMethod(int.class, float.class); in testCastIntegerToFloatingPoint() local681 assertEquals(0.0f, intToFloat.invoke(null, 0)); in testCastIntegerToFloatingPoint()682 assertEquals(-1.0f, intToFloat.invoke(null, -1)); in testCastIntegerToFloatingPoint()683 assertEquals(16777216f, intToFloat.invoke(null, 16777216)); in testCastIntegerToFloatingPoint()684 assertEquals(16777216f, intToFloat.invoke(null, 16777217)); // precision in testCastIntegerToFloatingPoint()