Lines Matching defs:start

709      * <li> If {@code start} is
712 * magnitude, then a zero with the same sign as {@code start}
715 * <li> If {@code start} is infinite and
718 * same sign as {@code start} is returned.
720 * <li> If {@code start} is equal to &plusmn;
723 * infinity with same sign as {@code start} is returned.
726 * @param start starting floating-point value
728 * {@code start}'s neighbors or {@code start} should
730 * @return The floating-point number adjacent to {@code start} in the
734 public static double nextAfter(double start, double direction) {
747 if (isNaN(start) || isNaN(direction)) {
749 return start + direction;
750 } else if (start == direction) {
752 } else { // start > direction or start < direction
754 // then bitwise convert start to integer.
755 long transducer = Double.doubleToRawLongBits(start + 0.0d);
769 if (direction > start) { // Calculate next greater value
772 assert direction < start;
809 * <li> If {@code start} is
812 * magnitude, then a zero with the same sign as {@code start}
815 * <li> If {@code start} is infinite and
818 * same sign as {@code start} is returned.
820 * <li> If {@code start} is equal to &plusmn;
823 * infinity with same sign as {@code start} is returned.
826 * @param start starting floating-point value
828 * {@code start}'s neighbors or {@code start} should
830 * @return The floating-point number adjacent to {@code start} in the
834 public static float nextAfter(float start, double direction) {
847 if (isNaN(start) || isNaN(direction)) {
849 return start + (float)direction;
850 } else if (start == direction) {
852 } else { // start > direction or start < direction
854 // then bitwise convert start to integer.
855 int transducer = Float.floatToRawIntBits(start + 0.0f);
869 if (direction > start) {// Calculate next greater value
872 assert direction < start;