Searched refs:halfMax (Results 1 – 2 of 2) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StrictMathTest.java | 954 double halfMax = StrictMath.scalb(1.0, Double.MAX_EXPONENT); in test_scalb_DI() local 955 assertEquals(8.98846567431158E307, halfMax); in test_scalb_DI() 956 assertEquals(Double.MAX_VALUE, halfMax - StrictMath.ulp(halfMax) in test_scalb_DI() 957 + halfMax); in test_scalb_DI() 958 assertEquals(Double.POSITIVE_INFINITY, halfMax + halfMax); in test_scalb_DI() 964 halfMax = StrictMath.scalb(-1.0, Double.MAX_EXPONENT); in test_scalb_DI() 965 assertEquals(-8.98846567431158E307, halfMax); in test_scalb_DI() 966 assertEquals(-Double.MAX_VALUE, halfMax + StrictMath.ulp(halfMax) in test_scalb_DI() 967 + halfMax); in test_scalb_DI() 968 assertEquals(Double.NEGATIVE_INFINITY, halfMax + halfMax); in test_scalb_DI() [all …]
|
D | MathTest.java | 1355 double halfMax = Math.scalb(1.0, Double.MAX_EXPONENT); in test_scalb_DI() local 1356 assertEquals(8.98846567431158E307, halfMax); in test_scalb_DI() 1357 assertEquals(Double.MAX_VALUE, halfMax - Math.ulp(halfMax) + halfMax); in test_scalb_DI() 1358 assertEquals(Double.POSITIVE_INFINITY, halfMax + halfMax); in test_scalb_DI() 1364 halfMax = Math.scalb(-1.0, Double.MAX_EXPONENT); in test_scalb_DI() 1365 assertEquals(-8.98846567431158E307, halfMax); in test_scalb_DI() 1366 assertEquals(-Double.MAX_VALUE, halfMax + Math.ulp(halfMax) + halfMax); in test_scalb_DI() 1367 assertEquals(Double.NEGATIVE_INFINITY, halfMax + halfMax); in test_scalb_DI() 1508 float halfMax = Math.scalb(1.0f, Float.MAX_EXPONENT); in test_scalb_FI() local 1509 assertEquals(1.7014118E38f, halfMax); in test_scalb_FI() [all …]
|