/libcore/ojluni/src/test/java/lang/Math/ |
D | Rint.java | 58 {Math.nextUp(0.5), 1.0}, in testRint() 63 {Math.nextUp(1.0), 1.0}, in testRint() 67 {Math.nextUp(1.5), 2.0}, in testRint() 79 {Math.nextUp(300000.5), 300001.0}, in testRint() 82 {Math.nextUp(300000.75), 300001.0}, in testRint() 91 {Math.nextUp(twoToThe52), Math.nextUp(twoToThe52)}, in testRint()
|
D | CeilAndFloorTests.java | 69 double neighborUp = Math.nextUp(powerOfTwo); in nearIntegerTests() 114 double neighborUp = Math.nextUp(d); in nearIntegerTests() 157 {Math.nextUp(1.0), 2.0}, in roundingTests() 158 {Math.nextUp(-1.0), -0.0}, in roundingTests() 164 {-Math.nextUp(0x1.0p51), -0x1.0p51}, in roundingTests() 166 {Math.nextUp(0x1.0p51), 0x1.0p51 + 1}, in roundingTests() 170 {-Math.nextUp(0x1.0p52), -0x1.0p52 - 1.0}, in roundingTests() 172 {Math.nextUp(0x1.0p52), 0x1.0p52 + 1.0}, in roundingTests()
|
D | CubeRootTests.java | 189 err_adjacent = StrictMath.pow(Math.nextUp(y1), 3) - d; in testCubeRoot() 208 err_adjacent = StrictMath.pow(Math.nextUp(y2), 3) - d; in testCubeRoot() 247 pcNeighbors[3] = Math.nextUp(pc); in testCubeRoot() 248 pcNeighbors[4] = Math.nextUp(pcNeighbors[3]); in testCubeRoot() 284 pcNeighbors[3] = Math.nextUp(pc); in testCubeRoot() 285 pcNeighbors[4] = Math.nextUp(pcNeighbors[3]); in testCubeRoot()
|
D | Expm1Tests.java | 145 pcNeighbors[3] = Math.nextUp(pc); in testExpm1() 146 pcNeighbors[4] = Math.nextUp(pcNeighbors[3]); in testExpm1()
|
D | Log1pTests.java | 150 pcNeighbors[3] = Math.nextUp(pc); in testLog1p() 151 pcNeighbors[4] = Math.nextUp(pcNeighbors[3]); in testLog1p()
|
D | Log10Tests.java | 153 up = Math.nextUp(1.0); in testLog10() 158 up = Math.nextUp(up); in testLog10()
|
D | HypotTests.java | 167 pcNeighbors[3] = Math.nextUp(pc); in testHypot() 168 pcNeighbors[4] = Math.nextUp(pcNeighbors[3]); in testHypot()
|
D | Clamp.java | 140 {Math.nextUp(0.5), 0.0, 0.5, 0.5}, in testDoubleClamp() 204 {Math.nextUp(0.5f), 0.0f, 0.5f, 0.5f}, in testFloatClamp()
|
D | Tests.java | 65 return Math.nextUp(d); in nextOut() 67 return -Math.nextUp(-d); in nextOut()
|
D | IeeeRecommendedTests.java | 526 testCase[0], Math.nextUp(testCase[0]), testCase[1]); in testFloatNextUp() 529 testCase[0], StrictMath.nextUp(testCase[0]), testCase[1]); in testFloatNextUp() 560 testCase[0], Math.nextUp(testCase[0]), testCase[1]); in testDoubleNextUp() 563 testCase[0], StrictMath.nextUp(testCase[0]), testCase[1]); in testDoubleNextUp()
|
/libcore/luni/src/test/resources/ |
D | math_java_only.csv | 123 nextUp,-0x1.8ec3beb2d4184p1023,-0x1.8ec3beb2d4185p1023 124 nextUp,-0x1.a49ea827e7d04p1023,-0x1.a49ea827e7d05p1023 125 nextUp,-0x1.47afe754a89fdp1021,-0x1.47afe754a89fep1021 126 nextUp,-0x1.ea33b08c7fbfap1022,-0x1.ea33b08c7fbfbp1022 127 nextUp,0x1.40c8f2c416882p1023,0x1.40c8f2c416881p1023 128 nextUp,-0x1.d2762c5e7c22ap1022,-0x1.d2762c5e7c22bp1022 129 nextUp,0x1.0c0c8b67b7dafp1021,0x1.0c0c8b67b7daep1021 130 nextUp,-0x1.800e50b80ea84p1023,-0x1.800e50b80ea85p1023 131 nextUp,0x1.ccf6eeb86909dp1020,0x1.ccf6eeb86909cp1020 132 nextUp,-0x1.6d6d5ccb7231ep1022,-0x1.6d6d5ccb7231fp1022 [all …]
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FpUtils.java | 694 public static double nextUp(double d) { in nextUp() method in FpUtils 695 return Math.nextUp(d); in nextUp() 725 public static float nextUp(float f) { in nextUp() method in FpUtils 726 return Math.nextUp(f); in nextUp()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | FpUtils.java | 119 public static double nextUp(double d) { in nextUp() method in FpUtils 124 public static float nextUp(float f) { in nextUp() method in FpUtils
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 2514 public static double nextUp(double d) { in nextUp() method in StrictMath 2515 return Math.nextUp(d); in nextUp() 2543 public static float nextUp(float f) { in nextUp() method in StrictMath 2544 return Math.nextUp(f); in nextUp()
|
D | Math.java | 3356 public static double nextUp(double d) { 3395 public static float nextUp(float f) {
|
/libcore/ojluni/src/test/java/lang/Float/ |
D | ParseFloatTest.java | 107 … l = new BigDecimal(na).subtract(new BigDecimal(Math.ulp(-Math.nextUp(-na))).multiply(HALF)); in check() 316 … BigDecimal lowerBound = f_BD.subtract(new BigDecimal(Math.ulp(-Math.nextUp(-f))).multiply(HALF)); in testPowers()
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | ExpTests.java | 70 {Math.nextUp(EXP_OVERFLOW_THRESH), Double.POSITIVE_INFINITY}, in testExp()
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | StrictMath.annotated.java | 237 public static double nextUp(double d) { throw new RuntimeException("Stub!"); } in nextUp() method in StrictMath 239 public static float nextUp(float f) { throw new RuntimeException("Stub!"); } in nextUp() method in StrictMath
|
D | Math.annotated.java | 238 public static double nextUp(double d) { throw new RuntimeException("Stub!"); } in nextUp() method in Math 240 public static float nextUp(float f) { throw new RuntimeException("Stub!"); } in nextUp() method in Math
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StrictMathBenchmark.java | 269 StrictMath.nextUp(d); in timeNextUpD() 275 StrictMath.nextUp(f); in timeNextUpF()
|
D | MathBenchmark.java | 325 result = Math.nextUp(d); in timeNextUpD() 333 result = Math.nextUp(f); in timeNextUpF()
|
/libcore/ojluni/src/main/java/java/text/ |
D | ChoiceFormat.java | 473 return Math.nextUp(d); in nextDouble() 576 return positive ? Math.nextUp(d) : Math.nextDown(d); in nextDouble()
|
/libcore/ojluni/src/test/java/lang/Double/ |
D | ParseDoubleTest.java | 109 … l = new BigDecimal(na).subtract(new BigDecimal(Math.ulp(Math.nextUp(-na))).multiply(HALF)); in check() 715 … BigDecimal lowerBound = d_BD.subtract(new BigDecimal(Math.ulp(Math.nextUp(-d))).multiply(HALF)); in testPowers()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StrictMathTest.java | 833 .nextUp(start)); in test_nextUp_D() 840 .nextUp(Double.NaN))); in test_nextUp_D() 844 StrictMath.nextUp((Double) null); in test_nextUp_D() 865 .nextUp(start)); in test_nextUp_F() 872 .nextUp(Float.NaN))); in test_nextUp_F() 876 StrictMath.nextUp((Float) null); in test_nextUp_F()
|
D | MathTest.java | 1010 final long resultBits = Double.doubleToLongBits(Math.nextUp(start)); in test_nextUp_D() 1017 .nextUp(Double.NaN))); in test_nextUp_D() 1021 Math.nextUp((Double) null); in test_nextUp_D() 1041 final int resultBits = Float.floatToIntBits(Math.nextUp(start)); in test_nextUp_F() 1048 .nextUp(Float.NaN))); in test_nextUp_F() 1052 Math.nextUp((Float) null); in test_nextUp_F()
|