/libcore/ojluni/src/test/java/lang/Math/ |
D | CeilAndFloorTests.java | 68 double neighborDown = Math.nextDown(powerOfTwo); in nearIntegerTests() 113 double neighborDown = Math.nextDown(d); in nearIntegerTests() 137 {Math.nextDown(Double.MIN_NORMAL), 1.0}, in roundingTests() 138 {-Math.nextDown(Double.MIN_NORMAL), -0.0}, in roundingTests() 154 {Math.nextDown(1.0), 1.0}, in roundingTests() 155 {Math.nextDown(-1.0), -1.0}, in roundingTests() 163 {Math.nextDown(0x1.0p51), 0x1.0p51}, in roundingTests() 167 {-Math.nextDown(0x1.0p51), -0x1.0p51 + 1}, in roundingTests() 169 {Math.nextDown(0x1.0p52), 0x1.0p52}, in roundingTests() 173 {-Math.nextDown(0x1.0p52), -0x1.0p52 + 1.0}, in roundingTests()
|
D | Rint.java | 51 {Math.nextDown(Double.MIN_NORMAL), 0.0}, in testRint() 56 {Math.nextDown(0.5), 0.0}, in testRint() 61 {Math.nextDown(1.0), 1.0}, in testRint() 65 {Math.nextDown(1.5), 1.0}, in testRint() 80 {Math.nextDown(300000.75), 300001.0}, in testRint() 89 {Math.nextDown(twoToThe52), twoToThe52}, in testRint()
|
D | CubeRootTests.java | 245 pcNeighbors[1] = Math.nextDown(pc); in testCubeRoot() 246 pcNeighbors[0] = Math.nextDown(pcNeighbors[1]); in testCubeRoot() 282 pcNeighbors[1] = Math.nextDown(pc); in testCubeRoot() 283 pcNeighbors[0] = Math.nextDown(pcNeighbors[1]); in testCubeRoot()
|
D | Log10Tests.java | 154 down = Math.nextDown(1.0); in testLog10() 159 down = Math.nextDown(down); in testLog10() 162 input[0] = Math.nextDown(input[1]); in testLog10()
|
D | Clamp.java | 138 {Math.nextDown(0.5), 0.0, 0.5, Math.nextDown(0.5)}, in testDoubleClamp() 202 {Math.nextDown(0.5f), 0.0f, 0.5f, Math.nextDown(0.5f)}, in testFloatClamp()
|
D | Expm1Tests.java | 143 pcNeighbors[1] = Math.nextDown(pc); in testExpm1() 144 pcNeighbors[0] = Math.nextDown(pcNeighbors[1]); in testExpm1()
|
D | Log1pTests.java | 148 pcNeighbors[1] = Math.nextDown(pc); in testLog1p() 149 pcNeighbors[0] = Math.nextDown(pcNeighbors[1]); in testLog1p()
|
D | HypotTests.java | 165 pcNeighbors[1] = Math.nextDown(pc); in testHypot() 166 pcNeighbors[0] = Math.nextDown(pcNeighbors[1]); in testHypot()
|
D | HyperbolicTests.java | 282 long transExpOvfl = Double.doubleToLongBits(Math.nextDown(709.7827128933841)); in testSinh() 630 long transExpOvfl = Double.doubleToLongBits(Math.nextDown(709.7827128933841)); in testCosh()
|
D | IeeeRecommendedTests.java | 597 testCase[0], Math.nextDown(testCase[0]), testCase[1]); in testFloatNextDown() 600 testCase[0], StrictMath.nextDown(testCase[0]), testCase[1]); in testFloatNextDown() 632 testCase[0], Math.nextDown(testCase[0]), testCase[1]); in testDoubleNextDown() 635 testCase[0], StrictMath.nextDown(testCase[0]), testCase[1]); in testDoubleNextDown()
|
/libcore/ojluni/src/test/java/lang/Double/ |
D | ParseHexFloatingPointTest.java | 223 new PairSD("0x0.fffffffffffff7fffffp-1022", Math.nextDown(Double.MIN_NORMAL)), in testDouble() 238 new PairSD("0x1.ffffffffffffep1023", Math.nextDown(Double.MAX_VALUE)), in testDouble() 239 new PairSD("0x1.ffffffffffffe0000p1023", Math.nextDown(Double.MAX_VALUE)), in testDouble() 240 new PairSD("0x1.ffffffffffffe8p1023", Math.nextDown(Double.MAX_VALUE)), in testDouble() 241 new PairSD("0x1.ffffffffffffe7p1023", Math.nextDown(Double.MAX_VALUE)), in testDouble() 277 Math.nextDown(Math.nextDown(2.0)), in significandAlignmentTests() 278 Math.nextDown(2.0), in significandAlignmentTests()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FpUtils.java | 756 public static double nextDown(double d) { in nextDown() method in FpUtils 757 return Math.nextDown(d); in nextDown() 787 public static double nextDown(float f) { in nextDown() method in FpUtils 788 return Math.nextDown(f); in nextDown()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | FpUtils.java | 129 public static double nextDown(double d) { in nextDown() method in FpUtils 134 public static double nextDown(float f) { in nextDown() method in FpUtils
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 2572 public static double nextDown(double d) { in nextDown() method in StrictMath 2573 return Math.nextDown(d); in nextDown() 2601 public static float nextDown(float f) { in nextDown() method in StrictMath 2602 return Math.nextDown(f); in nextDown()
|
D | Math.java | 3434 public static double nextDown(double d) { 3474 public static float nextDown(float f) {
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | ExpTests.java | 71 {Math.nextDown(EXP_UNDERFLOW_THRESH), +0.0}, in testExp()
|
D | CubeRootTests.java | 485 x = Math.nextDown(Double.MIN_NORMAL); in testAgainstTranslit()
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | StrictMath.annotated.java | 241 public static double nextDown(double d) { throw new RuntimeException("Stub!"); } in nextDown() method in StrictMath 243 public static float nextDown(float f) { throw new RuntimeException("Stub!"); } in nextDown() method in StrictMath
|
D | Math.annotated.java | 242 public static double nextDown(double d) { throw new RuntimeException("Stub!"); } in nextDown() method in Math 244 public static float nextDown(float f) { throw new RuntimeException("Stub!"); } in nextDown() method in Math
|
/libcore/ojluni/src/main/java/java/text/ |
D | ChoiceFormat.java | 488 return Math.nextDown(d); in previousDouble() 576 return positive ? Math.nextUp(d) : Math.nextDown(d); in nextDouble()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | RandomTest.java | 270 r = Math.nextDown(r); in test_doubles$II() 294 r = Math.nextDown(r); in test_doubles$LII()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StrictMathTest.java | 897 .nextDown(start)); in test_nextDown_D() 904 .nextDown(Double.NaN))); in test_nextDown_D() 908 StrictMath.nextDown((Double) null); in test_nextDown_D() 929 .nextDown(start)); in test_nextDown_F() 936 .nextDown(Float.NaN))); in test_nextDown_F() 940 StrictMath.nextDown((Float) null); in test_nextDown_F()
|
D | MathTest.java | 1072 final long resultBits = Double.doubleToLongBits(Math.nextDown(start)); in test_nextDown_D() 1079 .nextDown(Double.NaN))); in test_nextDown_D() 1083 Math.nextDown((Double) null); in test_nextDown_D() 1103 final int resultBits = Float.floatToIntBits(Math.nextDown(start)); in test_nextDown_F() 1110 .nextDown(Float.NaN))); in test_nextDown_F() 1114 Math.nextDown((Float) null); in test_nextDown_F()
|
/libcore/ojluni/src/main/java/jdk/internal/util/random/ |
D | RandomSupport.java | 680 r = Math.nextDown(bound); in boundedNextDouble()
|
/libcore/api/ |
D | current.txt | 3629 method public static double nextDown(double); 3630 method public static float nextDown(float); 4071 method public static double nextDown(double); 4072 method public static float nextDown(float);
|