Home
last modified time | relevance | path

Searched refs:nextAfter (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java617 public static double nextAfter(double start, double direction) { in nextAfter() method in FpUtils
618 return Math.nextAfter(start, direction); in nextAfter()
663 public static float nextAfter(float start, double direction) { in nextAfter() method in FpUtils
664 return Math.nextAfter(start, direction); in nextAfter()
/libcore/luni/src/test/resources/
Dmath_java_only.csv933 nextAfter,0x1.be08ed06ae399p-1,0x1.be08ed06ae39ap-1,-0x1.feeeaeefa83a6p0
934 nextAfter,-0x1.1558e1e8299b7p0,-0x1.1558e1e8299b8p0,0x1.60d227f2f9e01p0
935 nextAfter,0x1.912a35080f8b2p1,0x1.912a35080f8b3p1,-0x1.88072eb78a283p-2
936 nextAfter,-0x1.e23dcc6153801p-1,-0x1.e23dcc6153802p-1,0x1.3bfd03c91e4ep8
937 nextAfter,-0x1.122410b658edcp4,-0x1.122410b658eddp4,-0x1.35494eb6d5691p0
938 nextAfter,-0x1.69355b8af8cd6p-1,-0x1.69355b8af8cd5p-1,-0x1.f0006d9d37145p-1
939 nextAfter,-0x1.32a0dd3b6dd81p4,-0x1.32a0dd3b6dd82p4,-0x1.df3a32573fc8bp-2
940 nextAfter,-0x1.6f6ec240848bfp-2,-0x1.6f6ec240848cp-2,-0x1.668e7e853506ep-2
941 nextAfter,-0x1.81169faed0f51p-1,-0x1.81169faed0f52p-1,0x1.77d54e6483199p-1
942 nextAfter,0x1.2d8f948b56dd7p4,0x1.2d8f948b56dd8p4,-0x1.d02d0fde59b9p1
[all …]
/libcore/ojluni/src/main/java/java/lang/
DStrictMath.java1481 public static double nextAfter(double start, double direction) { in nextAfter() method in StrictMath
1482 return Math.nextAfter(start, direction); in nextAfter()
1523 public static float nextAfter(float start, double direction) { in nextAfter() method in StrictMath
1524 return Math.nextAfter(start, direction); in nextAfter()
DMath.java1900 public static double nextAfter(double start, double direction) { in nextAfter() method in Math
1999 public static float nextAfter(float start, double direction) { in nextAfter() method in Math
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DFpUtils.java109 public static double nextAfter(double start, double direction) { in nextAfter() method in FpUtils
114 public static float nextAfter(float start, double direction) { in nextAfter() method in FpUtils
/libcore/ojluni/annotations/mmodule/java/lang/
DMath.annotated.java170 public static double nextAfter(double start, double direction) { throw new RuntimeException("Stub!"… in nextAfter() method in Math
172 public static float nextAfter(float start, double direction) { throw new RuntimeException("Stub!");… in nextAfter() method in Math
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStrictMathTest.java704 .nextAfter(start, direction)); in test_nextAfter_DD()
722 .nextAfter(NEXTAFTER_DD_START_CASES[i][0], Double.NaN))); in test_nextAfter_DD()
726 .nextAfter(Double.NaN, NEXTAFTER_DD_FD_DIRECTION_CASES[i]))); in test_nextAfter_DD()
729 .nextAfter(Double.NaN, Double.NaN))); in test_nextAfter_DD()
733 StrictMath.nextAfter((Double) null, 2.3); in test_nextAfter_DD()
739 StrictMath.nextAfter(2.3, (Double) null); in test_nextAfter_DD()
745 StrictMath.nextAfter((Double) null, (Double) null); in test_nextAfter_DD()
769 .nextAfter(start, direction)); in test_nextAfter_FD()
789 .nextAfter(NEXTAFTER_FD_START_CASES[i][0], Float.NaN))); in test_nextAfter_FD()
793 .nextAfter(Float.NaN, NEXTAFTER_DD_FD_DIRECTION_CASES[i]))); in test_nextAfter_FD()
[all …]
DMathTest.java857 final long resultBits = Double.doubleToLongBits(Math.nextAfter( in test_nextAfter_DD()
876 .nextAfter(NEXTAFTER_DD_START_CASES[i][0], Double.NaN))); in test_nextAfter_DD()
880 .nextAfter(Double.NaN, NEXTAFTER_DD_FD_DIRECTION_CASES[i]))); in test_nextAfter_DD()
882 assertTrue("The result should be NaN.", Double.isNaN(Math.nextAfter( in test_nextAfter_DD()
887 Math.nextAfter((Double) null, 2.3); in test_nextAfter_DD()
893 Math.nextAfter(2.3, (Double) null); in test_nextAfter_DD()
899 Math.nextAfter((Double) null, (Double) null); in test_nextAfter_DD()
946 final int resultBits = Float.floatToIntBits(Math.nextAfter( in test_nextAfter_FD()
966 assertTrue("The result should be NaN.", Float.isNaN(Math.nextAfter( in test_nextAfter_FD()
970 assertTrue("The result should be NaN.", Float.isNaN(Math.nextAfter( in test_nextAfter_FD()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DStrictMathBenchmark.java257 StrictMath.nextAfter(d, d); in timeNextAfterD()
263 StrictMath.nextAfter(f, f); in timeNextAfterF()
DMathBenchmark.java309 result = Math.nextAfter(d, d); in timeNextAfterD()
317 result = Math.nextAfter(f, f); in timeNextAfterF()