Searched refs:direction (Results 1 - 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
H A DFpUtils.java577 * argument in the direction of the second argument. If both
585 * <li> If both arguments are signed zeros, {@code direction}
591 * &plusmn;{@code Double.MIN_VALUE} and {@code direction}
597 * {@code direction} has a value such that the result should
602 * {@code Double.MAX_VALUE} and {@code direction} has a
608 * @param direction value indicating which of
612 * direction of {@code direction}.
617 public static double nextAfter(double start, double direction) { argument
618 return Math.nextAfter(start, direction);
663 nextAfter(float start, double direction) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DMath.java1862 * argument in the direction of the second argument. If both
1870 * <li> If both arguments are signed zeros, {@code direction}
1876 * &plusmn;{@link Double#MIN_VALUE} and {@code direction}
1882 * {@code direction} has a value such that the result should
1887 * {@link Double#MAX_VALUE} and {@code direction} has a
1893 * @param direction value indicating which of
1897 * direction of {@code direction}.
1900 public static double nextAfter(double start, double direction) { argument
1913 if (Double.isNaN(start) || Double.isNaN(direction)) {
1999 nextAfter(float start, double direction) argument
[all...]
H A DStrictMath.java1444 * argument in the direction of the second argument. If both
1451 * <li> If both arguments are signed zeros, {@code direction}
1457 * &plusmn;{@link Double#MIN_VALUE} and {@code direction}
1463 * {@code direction} has a value such that the result should
1468 * {@link Double#MAX_VALUE} and {@code direction} has a
1474 * @param direction value indicating which of
1478 * direction of {@code direction}.
1481 public static double nextAfter(double start, double direction) { argument
1482 return Math.nextAfter(start, direction);
1523 nextAfter(float start, double direction) argument
[all...]
/libcore/luni/src/main/java/libcore/icu/
H A DRelativeDateTimeFormatter.java127 android.icu.text.RelativeDateTimeFormatter.Direction direction;
129 direction = android.icu.text.RelativeDateTimeFormatter.Direction.LAST;
131 direction = android.icu.text.RelativeDateTimeFormatter.Direction.NEXT;
160 // available. Note that we cannot set up direction and unit here and
192 direction = android.icu.text.RelativeDateTimeFormatter.Direction.THIS;
224 return formatter.format(count, direction, unit);
226 return formatter.format(direction, aunit);
/libcore/ojluni/src/main/java/java/sql/
H A DStatement.java399 * Gives the driver a hint as to the direction in which
404 * Note that this method sets the default fetch direction for
407 * its own fetch direction.
409 * @param direction the initial direction for processing rows
412 * or the given direction
418 void setFetchDirection(int direction) throws SQLException; argument
421 * Retrieves the direction for fetching rows from
425 * a fetch direction by calling the method <code>setFetchDirection</code>,
428 * @return the default fetch direction fo
[all...]
H A DResultSet.java1283 * processed in a forward direction; first-to-last.
1292 * processed in a reverse direction; last-to-first.
1308 * Gives a hint as to the direction in which the rows in this
1313 * The fetch direction may be changed at any time.
1315 * @param direction an <code>int</code> specifying the suggested
1316 * fetch direction; one of <code>ResultSet.FETCH_FORWARD</code>,
1322 * direction is not <code>FETCH_FORWARD</code>
1327 void setFetchDirection(int direction) throws SQLException; argument
1330 * Retrieves the fetch direction for this
1333 * @return the current fetch direction fo
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DStrictMathTest.java702 final double direction = NEXTAFTER_DD_FD_DIRECTION_CASES[j];
704 .nextAfter(start, direction));
705 final long directionBits = Double.doubleToLongBits(direction);
706 if (direction > start) {
709 } else if (direction < start) {
713 assertEquals("Result should be direction.", directionBits,
767 final double direction = NEXTAFTER_DD_FD_DIRECTION_CASES[j];
769 .nextAfter(start, direction));
770 if (direction > start) {
773 } else if (direction < star
[all...]
H A DMathTest.java831 * direction number cases for test_nextAfter_DD/test_nextAfter_FD in
856 final double direction = NEXTAFTER_DD_FD_DIRECTION_CASES[j];
858 start, direction));
859 final long directionBits = Double.doubleToLongBits(direction);
860 if (direction > start) {
863 } else if (direction < start) {
867 assertEquals("Result should be direction.", directionBits,
945 final double direction = NEXTAFTER_DD_FD_DIRECTION_CASES[j];
947 start, direction));
948 if (direction > star
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DR.java1531 public static final int direction = 0; field in class:R

Completed in 245 milliseconds