Lines Matching defs:start

1864      * <li> If {@code start} is
1867 * magnitude, then a zero with the same sign as {@code start}
1870 * <li> If {@code start} is infinite and
1873 * same sign as {@code start} is returned.
1875 * <li> If {@code start} is equal to &plusmn;
1878 * infinity with same sign as {@code start} is returned.
1881 * @param start starting floating-point value
1883 * {@code start}'s neighbors or {@code start} should
1885 * @return The floating-point number adjacent to {@code start} in the
1889 public static double nextAfter(double start, double direction) {
1902 if (Double.isNaN(start) || Double.isNaN(direction)) {
1904 return start + direction;
1905 } else if (start == direction) {
1907 } else { // start > direction or start < direction
1909 // then bitwise convert start to integer.
1910 long transducer = Double.doubleToRawLongBits(start + 0.0d);
1924 if (direction > start) { // Calculate next greater value
1927 assert direction < start;
1963 * <li> If {@code start} is
1966 * magnitude, then a zero with the same sign as {@code start}
1969 * <li> If {@code start} is infinite and
1972 * same sign as {@code start} is returned.
1974 * <li> If {@code start} is equal to &plusmn;
1977 * infinity with same sign as {@code start} is returned.
1980 * @param start starting floating-point value
1982 * {@code start}'s neighbors or {@code start} should
1984 * @return The floating-point number adjacent to {@code start} in the
1988 public static float nextAfter(float start, double direction) {
2001 if (Float.isNaN(start) || Double.isNaN(direction)) {
2003 return start + (float)direction;
2004 } else if (start == direction) {
2006 } else { // start > direction or start < direction
2008 // then bitwise convert start to integer.
2009 int transducer = Float.floatToRawIntBits(start + 0.0f);
2023 if (direction > start) {// Calculate next greater value
2026 assert direction < start;