Home
last modified time | relevance | path

Searched refs:floatToDouble (Results 1 – 1 of 1) sorted by relevance

/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java743 Method floatToDouble = numericCastingMethod(float.class, double.class); in testCastFloatingPointToFloatingPoint() local
744 assertEquals(0.0, floatToDouble.invoke(null, 0.0f)); in testCastFloatingPointToFloatingPoint()
745 assertEquals(-1.0, floatToDouble.invoke(null, -1.0f)); in testCastFloatingPointToFloatingPoint()
746 assertEquals(0.5, floatToDouble.invoke(null, 0.5f)); in testCastFloatingPointToFloatingPoint()
747 assertEquals(Double.NEGATIVE_INFINITY, floatToDouble.invoke(null, Float.NEGATIVE_INFINITY)); in testCastFloatingPointToFloatingPoint()
748 assertEquals(Double.NaN, floatToDouble.invoke(null, Float.NaN)); in testCastFloatingPointToFloatingPoint()