Lines Matching defs:NaN

66      * A constant holding a Not-a-Number (NaN) value of type
70 public static final float NaN = 0.0f / 0.0f;
136 * <li>If the argument is NaN, the result is the string
137 * "{@code NaN}".
208 * <li>If the argument is NaN, the result is the string
209 * "{@code NaN}".
310 * <dd><i>Sign<sub>opt</sub></i> {@code NaN}
457 * Not-a-Number (NaN) value, {@code false} otherwise.
460 * @return {@code true} if the argument is NaN;
524 * Not-a-Number (NaN), {@code false} otherwise.
527 * NaN; {@code false} otherwise.
659 * {@code Float.NaN}, then the {@code equals} method returns
660 * {@code true}, even though {@code Float.NaN==Float.NaN}
701 * <p>If the argument is NaN, the result is {@code 0x7fc00000}.
706 * (except all NaN values are collapsed to a single
707 * "canonical" NaN value).
714 // Check for NaN based on values of bit fields, maximum
726 * layout, preserving Not-a-Number (NaN) values.
743 * <p>If the argument is NaN, the result is the integer representing
744 * the actual NaN value. Unlike the {@code floatToIntBits}
746 * bit patterns encoding a NaN to a single "canonical"
747 * NaN value.
776 * {@code 0xffffffff}, the result is a NaN. No IEEE 754
778 * between two NaN values of the same type with different bit
779 * patterns. Distinct values of NaN are only distinguishable by
797 * {@code float} NaN with exactly same bit pattern as the
800 * differences between the two kinds of NaN are generally not
804 * signaling NaN also performs that conversion. In particular,
805 * copying a signaling NaN to return it to the calling method may
807 * not be able to return a {@code float} with a signaling NaN
812 * dependent; although all NaN bit patterns, quiet or signaling,
813 * must be in the NaN range identified above.
829 * {@code Float.NaN} is considered by this method to
877 return -1; // Neither val is NaN, thisVal is smaller
879 return 1; // Neither val is NaN, thisVal is larger
886 (thisBits < anotherBits ? -1 : // (-0.0, 0.0) or (!NaN, NaN)
887 1)); // (0.0, -0.0) or (NaN, !NaN)