Searched refs:nextUp (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jdk/test/java/lang/Math/
H A DRint.java63 { 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 DCeilAndFloorTests.java73 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 DCubeRootTests.java186 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 DExpm1Tests.java133 // nextUp(pc),
134 // nextUp(nextUp(pc))}
148 pcNeighbors[3] = FpUtils.nextUp(pc);
149 pcNeighbors[4] = FpUtils.nextUp(pcNeighbors[3]);
H A DLog1pTests.java125 // nextUp(pc),
126 // nextUp(nextUp(pc))}
140 pcNeighbors[3] = FpUtils.nextUp(pc);
141 pcNeighbors[4] = FpUtils.nextUp(pcNeighbors[3]);
H A DHypotTests.java145 // nextUp(pc),
146 // nextUp(nextUp(pc))}
161 pcNeighbors[3] = FpUtils.nextUp(pc);
162 pcNeighbors[4] = FpUtils.nextUp(pcNeighbors[3]);
H A DLog10Tests.java156 up = FpUtils.nextUp(1.0);
161 up = FpUtils.nextUp(up);
H A DIeeeRecommendedTests.java519 /* ******************** 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 DMath.java1404 * 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 DStrictMath.java1346 * 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 DFpUtils.java898 * 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

Completed in 49 milliseconds