Searched refs:longToFloat (Results 1 – 1 of 1) sorted by relevance
617 Method longToFloat = numericCastingMethod(long.class, float.class); in testCastIntegerToFloatingPoint() local618 assertEquals(0.0f, longToFloat.invoke(null, 0L)); in testCastIntegerToFloatingPoint()619 assertEquals(-1.0f, longToFloat.invoke(null, -1L)); in testCastIntegerToFloatingPoint()620 assertEquals(16777216f, longToFloat.invoke(null, 16777216L)); in testCastIntegerToFloatingPoint()621 assertEquals(16777216f, longToFloat.invoke(null, 16777217L)); in testCastIntegerToFloatingPoint()