Home
last modified time | relevance | path

Searched refs:nextDown (Results 1 – 25 of 25) sorted by relevance

/libcore/ojluni/src/test/java/lang/Math/
DCeilAndFloorTests.java68 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()
DRint.java51 {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()
DCubeRootTests.java245 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()
DLog10Tests.java154 down = Math.nextDown(1.0); in testLog10()
159 down = Math.nextDown(down); in testLog10()
162 input[0] = Math.nextDown(input[1]); in testLog10()
DClamp.java138 {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()
DExpm1Tests.java143 pcNeighbors[1] = Math.nextDown(pc); in testExpm1()
144 pcNeighbors[0] = Math.nextDown(pcNeighbors[1]); in testExpm1()
DLog1pTests.java148 pcNeighbors[1] = Math.nextDown(pc); in testLog1p()
149 pcNeighbors[0] = Math.nextDown(pcNeighbors[1]); in testLog1p()
DHypotTests.java165 pcNeighbors[1] = Math.nextDown(pc); in testHypot()
166 pcNeighbors[0] = Math.nextDown(pcNeighbors[1]); in testHypot()
DHyperbolicTests.java282 long transExpOvfl = Double.doubleToLongBits(Math.nextDown(709.7827128933841)); in testSinh()
630 long transExpOvfl = Double.doubleToLongBits(Math.nextDown(709.7827128933841)); in testCosh()
DIeeeRecommendedTests.java597 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/
DParseHexFloatingPointTest.java223 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/
DFpUtils.java756 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/
DFpUtils.java129 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/
DStrictMath.java2572 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()
DMath.java3434 public static double nextDown(double d) {
3474 public static float nextDown(float f) {
/libcore/ojluni/src/test/java/lang/StrictMath/
DExpTests.java71 {Math.nextDown(EXP_UNDERFLOW_THRESH), +0.0}, in testExp()
DCubeRootTests.java485 x = Math.nextDown(Double.MIN_NORMAL); in testAgainstTranslit()
/libcore/ojluni/annotations/flagged_api/java/lang/
DStrictMath.annotated.java241 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
DMath.annotated.java242 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/
DChoiceFormat.java488 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/
DRandomTest.java270 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/
DStrictMathTest.java897 .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()
DMathTest.java1072 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/
DRandomSupport.java680 r = Math.nextDown(bound); in boundedNextDouble()
/libcore/api/
Dcurrent.txt3629 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);