Home
last modified time | relevance | path

Searched refs:direction (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java617 public static double nextAfter(double start, double direction) { in nextAfter() argument
618 return Math.nextAfter(start, direction); in nextAfter()
663 public static float nextAfter(float start, double direction) { in nextAfter() argument
664 return Math.nextAfter(start, direction); in nextAfter()
/libcore/ojluni/src/main/java/java/lang/
DMath.java3199 public static double nextAfter(double start, double direction) {
3225 if (start > direction) { // descending
3232 } else if (start < direction) { // ascending
3237 } else if (start == direction) {
3238 return direction;
3240 return start + direction;
3283 public static float nextAfter(float start, double direction) {
3309 if (start > direction) { // descending
3316 } else if (start < direction) { // ascending
3321 } else if (start == direction) {
[all …]
DStrictMath.java2443 public static double nextAfter(double start, double direction) { in nextAfter() argument
2444 return Math.nextAfter(start, direction); in nextAfter()
2485 public static float nextAfter(float start, double direction) { in nextAfter() argument
2486 return Math.nextAfter(start, direction); in nextAfter()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DFpUtils.java109 public static double nextAfter(double start, double direction) { in nextAfter() argument
114 public static float nextAfter(float start, double direction) { in nextAfter() argument
/libcore/ojluni/src/test/java/lang/Math/
DIeeeRecommendedTests.java329 static void testNextAfterCase(float start, double direction, float expected) { in testNextAfterCase() argument
331 double minus_direction = -direction; in testNextAfterCase()
334 Tests.test("Math.nextAfter(float,double)", start, direction, in testNextAfterCase()
335 Math.nextAfter(start, direction), expected); in testNextAfterCase()
339 Tests.test("StrictMath.nextAfter(float,double)", start, direction, in testNextAfterCase()
340 StrictMath.nextAfter(start, direction), expected); in testNextAfterCase()
345 static void testNextAfterCase(double start, double direction, double expected) { in testNextAfterCase() argument
347 double minus_direction = -direction; in testNextAfterCase()
350 Tests.test("Math.nextAfter(double,double)", start, direction, in testNextAfterCase()
351 Math.nextAfter(start, direction), expected); in testNextAfterCase()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStrictMathTest.java702 final double direction = NEXTAFTER_DD_FD_DIRECTION_CASES[j]; in test_nextAfter_DD() local
704 .nextAfter(start, direction)); in test_nextAfter_DD()
705 final long directionBits = Double.doubleToLongBits(direction); in test_nextAfter_DD()
706 if (direction > start) { in test_nextAfter_DD()
709 } else if (direction < start) { in test_nextAfter_DD()
767 final double direction = NEXTAFTER_DD_FD_DIRECTION_CASES[j]; in test_nextAfter_FD() local
769 .nextAfter(start, direction)); in test_nextAfter_FD()
770 if (direction > start) { in test_nextAfter_FD()
773 } else if (direction < start) { in test_nextAfter_FD()
778 direction)); in test_nextAfter_FD()
DMathTest.java856 final double direction = NEXTAFTER_DD_FD_DIRECTION_CASES[j]; in test_nextAfter_DD() local
858 start, direction)); in test_nextAfter_DD()
859 final long directionBits = Double.doubleToLongBits(direction); in test_nextAfter_DD()
860 if (direction > start) { in test_nextAfter_DD()
863 } else if (direction < start) { in test_nextAfter_DD()
945 final double direction = NEXTAFTER_DD_FD_DIRECTION_CASES[j]; in test_nextAfter_FD() local
947 start, direction)); in test_nextAfter_FD()
948 if (direction > start) { in test_nextAfter_FD()
951 } else if (direction < start) { in test_nextAfter_FD()
956 direction)); in test_nextAfter_FD()
/libcore/ojluni/src/main/java/java/sql/
DStatement.java419 void setFetchDirection(int direction) throws SQLException; in setFetchDirection() argument
DResultSet.java1333 void setFetchDirection(int direction) throws SQLException; in setFetchDirection() argument
/libcore/ojluni/annotations/flagged_api/java/lang/
DStrictMath.annotated.java233 public static double nextAfter(double start, double direction) { throw new RuntimeException("Stub!"… in nextAfter() argument
235 public static float nextAfter(float start, double direction) { throw new RuntimeException("Stub!");… in nextAfter() argument
DMath.annotated.java234 public static double nextAfter(double start, double direction) { throw new RuntimeException("Stub!"… in nextAfter() argument
236 public static float nextAfter(float start, double direction) { throw new RuntimeException("Stub!");… in nextAfter() argument
/libcore/ojluni/src/test/java/nio/Buffer/
DBasic-X.java.template234 fail("Lost direction", slice);
466 fail("Lost direction", as);
615 fail("Wrong direction", b);
/libcore/benchmarks/libs/
Dcaliper.jar.txt20 direction or management of such entity, whether by contract or
/libcore/benchmarks/src/benchmarks/regression/
DR.java1531 public static final int direction = 0; field in R