/openjdk7/jdk/test/java/lang/Math/ |
H A D | Rint.java | 63 { FpUtils.nextUp(0.5), 1.0}, 68 { FpUtils.nextUp(1.0), 1.0}, 72 { FpUtils.nextUp(1.5), 2.0}, 84 {FpUtils.nextUp(300000.5), 300001.0}, 87 {FpUtils.nextUp(300000.75), 300001.0}, 96 {FpUtils.nextUp(twoToThe52), FpUtils.nextUp(twoToThe52)},
|
H A D | CeilAndFloorTests.java | 73 double neighborUp = Math.nextUp(powerOfTwo); 118 double neighborUp = Math.nextUp(d); 163 { Math.nextUp(1.0), 2.0}, 164 { Math.nextUp(-1.0), -0.0}, 170 {-Math.nextUp(0x1.0p51), -0x1.0p51}, 172 { Math.nextUp(0x1.0p51), 0x1.0p51+1}, 176 {-Math.nextUp(0x1.0p52), -0x1.0p52-1.0}, 178 { Math.nextUp(0x1.0p52), 0x1.0p52+1.0},
|
H A D | CubeRootTests.java | 186 err_adjacent = StrictMath.pow(FpUtils.nextUp(y1), 3) - d; 209 err_adjacent = StrictMath.pow(FpUtils.nextUp(y2), 3) - d; 233 // nextUp(pc), 234 // nextUp(nextUp(pc))} 250 pcNeighbors[3] = FpUtils.nextUp(pc); 251 pcNeighbors[4] = FpUtils.nextUp(pcNeighbors[3]); 289 pcNeighbors[3] = FpUtils.nextUp(pc); 290 pcNeighbors[4] = FpUtils.nextUp(pcNeighbors[3]);
|
H A D | Expm1Tests.java | 133 // nextUp(pc), 134 // nextUp(nextUp(pc))} 148 pcNeighbors[3] = FpUtils.nextUp(pc); 149 pcNeighbors[4] = FpUtils.nextUp(pcNeighbors[3]);
|
H A D | Log1pTests.java | 125 // nextUp(pc), 126 // nextUp(nextUp(pc))} 140 pcNeighbors[3] = FpUtils.nextUp(pc); 141 pcNeighbors[4] = FpUtils.nextUp(pcNeighbors[3]);
|
H A D | HypotTests.java | 145 // nextUp(pc), 146 // nextUp(nextUp(pc))} 161 pcNeighbors[3] = FpUtils.nextUp(pc); 162 pcNeighbors[4] = FpUtils.nextUp(pcNeighbors[3]);
|
H A D | Log10Tests.java | 156 up = FpUtils.nextUp(1.0); 161 up = FpUtils.nextUp(up);
|
H A D | IeeeRecommendedTests.java | 519 /* ******************** nextUp tests ********************************* */ 525 * Each row of testCases represents one test case for nextUp; 548 failures+=Tests.test("Math.nextUp(float)", 549 testCases[i][0], Math.nextUp(testCases[i][0]), testCases[i][1]); 551 failures+=Tests.test("StrictMath.nextUp(float)", 552 testCases[i][0], StrictMath.nextUp(testCases[i][0]), testCases[i][1]); 563 * Each row of testCases represents one test case for nextUp; 586 failures+=Tests.test("Math.nextUp(double)", 587 testCases[i][0], Math.nextUp(testCases[i][0]), testCases[i][1]); 589 failures+=Tests.test("StrictMath.nextUp(doubl [all...] |
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Math.java | 1404 * Double.POSITIVE_INFINITY)}; however, a {@code nextUp} 1425 public static double nextUp(double d) { method in class:Math 1426 return sun.misc.FpUtils.nextUp(d); 1433 * Float.POSITIVE_INFINITY)}; however, a {@code nextUp} 1454 public static float nextUp(float f) { method in class:Math 1455 return sun.misc.FpUtils.nextUp(f);
|
H A D | StrictMath.java | 1346 * Double.POSITIVE_INFINITY)}; however, a {@code nextUp} 1367 public static double nextUp(double d) { method in class:StrictMath 1368 return sun.misc.FpUtils.nextUp(d); 1375 * Float.POSITIVE_INFINITY)}; however, a {@code nextUp} 1396 public static float nextUp(float f) { method in class:StrictMath 1397 return sun.misc.FpUtils.nextUp(f);
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | FpUtils.java | 898 * Double.POSITIVE_INFINITY)}; however, a {@code nextUp} 919 public static double nextUp(double d) { method in class:FpUtils 933 * Double.POSITIVE_INFINITY)}; however, a {@code nextUp} 954 public static float nextUp(float f) { method in class:FpUtils
|