Lines Matching refs:value

34  * The {@code Float} class wraps a value of primitive type
53 * {@code float}. It is equal to the value returned by
60 * {@code float}. It is equal to the value returned by
66 * A constant holding a Not-a-Number (NaN) value of type
67 * {@code float}. It is equivalent to the value returned by
73 * A constant holding the largest positive finite value of type
82 * A constant holding the smallest positive normal value of type
92 * A constant holding the smallest positive nonzero value of type
101 * is equal to the value returned by {@code
110 * It is equal to the value returned by {@code
118 * The number of bits used to represent a {@code float} value.
139 * magnitude (absolute value) of the argument. If the sign is
182 * the argument value from adjacent values of type
184 * exact mathematical value represented by the decimal
187 * value nearest to <i>x</i>; or, if two {@code float} values are
193 * value, use subclasses of {@link java.text.NumberFormat}.
211 * magnitude (absolute value) of the argument. If the sign is negative,
227 * <li>If <i>m</i> is a {@code float} value with a
238 * exponent value.
240 * <li>If <i>m</i> is a {@code float} value with a subnormal
294 * {@code float} value represented by the argument string
362 * representing an exact decimal value in the usual
364 * hexadecimal value; this exact numerical value is then
366 * binary value that is then rounded to type {@code float}
369 * value.
372 * underflow behaviour; if the exact value of {@code s} is large
376 * exact value of {@code s} is small enough in magnitude (less
381 * this {@code float} value is returned.
384 * floating-point value, use subclasses of {@link
389 * ({@code 1.0f} is a {@code float} value;
390 * {@code 1.0d} is a {@code double} value), do
392 * words, the numerical value of the input string is converted
401 * results in the {@code float} value
411 * @return a {@code Float} object holding the value
422 * {@code float} value.
429 * @param f a float value.
438 * Returns a new {@code float} initialized to the value
443 * @return the {@code float} value represented by the string
457 * Not-a-Number (NaN) value, {@code false} otherwise.
459 * @param v the value to be tested.
471 * @param v the value to be tested.
480 * The value of the Float.
484 private final float value;
490 * @param value the value to be represented by the {@code Float}.
492 public Float(float value) {
493 this.value = value;
500 * @param value the value to be represented by the {@code Float}.
502 public Float(double value) {
503 this.value = (float)value;
508 * represents the floating-point value of type {@code float}
510 * {@code float} value as if by the {@code valueOf} method.
523 * Returns {@code true} if this {@code Float} value is a
526 * @return {@code true} if the value represented by this object is
530 return isNaN(value);
534 * Returns {@code true} if this {@code Float} value is
537 * @return {@code true} if the value represented by this object is
542 return isInfinite(value);
547 * The primitive {@code float} value represented by this object
555 return Float.toString(value);
559 * Returns the value of this {@code Float} as a {@code byte} (by
562 * @return the {@code float} value represented by this object
566 return (byte)value;
570 * Returns the value of this {@code Float} as a {@code short} (by
573 * @return the {@code float} value represented by this object
578 return (short)value;
582 * Returns the value of this {@code Float} as an {@code int} (by
585 * @return the {@code float} value represented by this object
589 return (int)value;
593 * Returns value of this {@code Float} as a {@code long} (by
596 * @return the {@code float} value represented by this object
600 return (long)value;
604 * Returns the {@code float} value of this {@code Float} object.
606 * @return the {@code float} value represented by this object
609 return value;
613 * Returns the {@code double} value of this {@code Float} object.
615 * @return the {@code float} value represented by this
620 return (double)value;
627 * {@code float} value represented by this {@code Float}
630 * @return a hash code value for this object.
633 return floatToIntBits(value);
641 * represents a {@code float} with the same value as the
645 * returns the identical {@code int} value when applied to
649 * {@code Float}, {@code f1} and {@code f2}, the value
656 * <p>also has the value {@code true}. However, there are two exceptions:
661 * has the value {@code false}.
664 * versa, the {@code equal} test has the value
666 * has the value {@code true}.
678 && (floatToIntBits(((Float)obj).value) == floatToIntBits(value));
682 * Returns a representation of the specified floating-point value
705 * value the same as the argument to {@code floatToIntBits}
707 * "canonical" NaN value).
709 * @param value a floating-point number.
712 public static int floatToIntBits(float value) {
713 int result = floatToRawIntBits(value);
724 * Returns a representation of the specified floating-point value
744 * the actual NaN value. Unlike the {@code floatToIntBits}
747 * NaN value.
751 * floating-point value the same as the argument to
754 * @param value a floating-point number.
758 public static native int floatToRawIntBits(float value);
761 * Returns the {@code float} value corresponding to a given
764 * floating-point value according to the IEEE 754 floating-point
773 * <p>If the argument is any value in the range
793 * Then the floating-point result equals the value of the mathematical
816 * @return the {@code float} floating-point value with the same bit
842 * @return the value {@code 0} if {@code anotherFloat} is
843 * numerically equal to this {@code Float}; a value
846 * and a value greater than {@code 0} if this
854 return Float.compare(value, anotherFloat.value);
859 * of the integer value returned is the same as that of the
867 * @return the value {@code 0} if {@code f1} is
868 * numerically equal to {@code f2}; a value less than
870 * {@code f2}; and a value greater than {@code 0}