Uses of Class
jdk.incubator.vector.Float16
Packages that use Float16
-
Uses of Float16 in jdk.incubator.vector
Classes in jdk.incubator.vector that implement interfaces with type arguments of type Float16Modifier and TypeClassDescriptionfinal classTheFloat16is a class holding 16-bit data in IEEE 754 binary16 format.Fields in jdk.incubator.vector declared as Float16Modifier and TypeFieldDescriptionstatic final Float16Float16.MAX_VALUEA constant holding the largest positive finite value of typeFloat16, (2-2-10)·215, numerically equal to 65504.0.static final Float16Float16.MIN_NORMALA constant holding the smallest positive normal value of typeFloat16, 2-14.static final Float16Float16.MIN_VALUEA constant holding the smallest positive nonzero value of typeFloat16, 2-24.static final Float16Float16.NaNA constant holding a Not-a-Number (NaN) value of typeFloat16.static final Float16Float16.NEGATIVE_INFINITYA constant holding the negative infinity of typeFloat16.static final Float16Float16.POSITIVE_INFINITYA constant holding the positive infinity of typeFloat16.Methods in jdk.incubator.vector that return Float16Modifier and TypeMethodDescriptionstatic Float16Returns the absolute value of the argument.static Float16Adds twoFloat16values together as per the+operator semantics using the round to nearest rounding policy.static Float16Returns the first floating-point argument with the sign of the second floating-point argument.static Float16Divides twoFloat16values as per the/operator semantics using the round to nearest rounding policy.static Float16Returns the fused multiply add of the three arguments; that is, returns the exact product of the first two arguments summed with the third argument and then rounded once to the nearestFloat16.static Float16Returns the larger of twoFloat16values.static Float16Returns the smaller of twoFloat16values.static Float16Multiplies twoFloat16values as per the*operator semantics using the round to nearest rounding policy.static Float16Returns the negation of the argument.static Float16Returns the floating-point value adjacent tovin the direction of negative infinity.static Float16Returns the floating-point value adjacent tovin the direction of positive infinity.static Float16Returnsv× 2scaleFactorrounded as if performed by a single correctly rounded floating-point multiply.static Float16Float16.shortBitsToFloat16(short bits) Returns theFloat16value corresponding to a given bit representation.static Float16Returns the signum function of the argument; zero if the argument is zero, 1.0 if the argument is greater than zero, -1.0 if the argument is less than zero.static Float16Returns the square root of the operand.static Float16Subtracts twoFloat16values as per the-operator semantics using the round to nearest rounding policy.static Float16Returns the size of an ulp of the argument.static Float16Float16.valueOf(double d) Returns aFloat16value rounded from thedoubleargument using the round to nearest rounding policy.static Float16Float16.valueOf(float f) Returns aFloat16value rounded from thefloatargument using the round to nearest rounding policy.static Float16Float16.valueOf(int value) Returns the value of anintconverted toFloat16.static Float16Float16.valueOf(long value) Returns the value of alongconverted toFloat16.static Float16Returns aFloat16holding the floating-point value represented by the argument string.static Float16Float16.valueOf(BigDecimal v) Returns aFloat16value rounded from theBigDecimalargument using the round to nearest rounding policy.Methods in jdk.incubator.vector with parameters of type Float16Modifier and TypeMethodDescriptionstatic Float16Returns the absolute value of the argument.static Float16Adds twoFloat16values together as per the+operator semantics using the round to nearest rounding policy.static intCompares the two specifiedFloat16values.intCompares twoFloat16objects numerically.static Float16Returns the first floating-point argument with the sign of the second floating-point argument.static Float16Divides twoFloat16values as per the/operator semantics using the round to nearest rounding policy.static shortFloat16.float16ToRawShortBits(Float16 f16) Returns a representation of the specified floating-point value according to the IEEE 754 floating-point binary16 bit layout.static shortFloat16.float16ToShortBits(Float16 f16) Returns a representation of the specified floating-point value according to the IEEE 754 floating-point binary16 bit layout.static Float16Returns the fused multiply add of the three arguments; that is, returns the exact product of the first two arguments summed with the third argument and then rounded once to the nearestFloat16.static intFloat16.getExponent(Float16 f16) Returns the unbiased exponent used in the representation of aFloat16.static intReturns a hash code for aFloat16value; compatible withFloat16.hashCode().static booleanReturnstrueif the argument is a finite floating-point value; returnsfalseotherwise (for NaN and infinity arguments).static booleanFloat16.isInfinite(Float16 f16) Returnstrueif the specified number is infinitely large in magnitude,falseotherwise.static booleanReturnstrueif the specified number is a Not-a-Number (NaN) value,falseotherwise.static Float16Returns the larger of twoFloat16values.static Float16Returns the smaller of twoFloat16values.static Float16Multiplies twoFloat16values as per the*operator semantics using the round to nearest rounding policy.static Float16Returns the negation of the argument.static Float16Returns the floating-point value adjacent tovin the direction of negative infinity.static Float16Returns the floating-point value adjacent tovin the direction of positive infinity.static Float16Returnsv× 2scaleFactorrounded as if performed by a single correctly rounded floating-point multiply.static Float16Returns the signum function of the argument; zero if the argument is zero, 1.0 if the argument is greater than zero, -1.0 if the argument is less than zero.static Float16Returns the square root of the operand.static Float16Subtracts twoFloat16values as per the-operator semantics using the round to nearest rounding policy.static StringFloat16.toHexString(Float16 f16) Returns a hexadecimal string representation of theFloat16argument.static StringReturns a string representation of theFloat16argument.static Float16Returns the size of an ulp of the argument.