Uses of Class jdk.incubator.vector.Float16 (Java SE 25 & JDK 25)
Description: use: module: jdk.incubator.vector, package: jdk.incubator.vector, class: Float16

# Uses of Class
jdk.incubator.vector.Float16

Packages that use Float16
Package
Description
jdk.incubator.vector
Incubating Feature. Will be removed in a future release.

- ## Uses of Float16 in jdk.incubator.vector

  Classes in jdk.incubator.vector that implement interfaces with type arguments of type Float16
  Modifier and Type
  Class
  Description
  `final class`
  `Float16`
  The `Float16` is a class holding 16-bit data in IEEE 754 binary16 format.
  Fields in jdk.incubator.vector declared as Float16
  Modifier and Type
  Field
  Description
  `static final Float16`
  Float16.`MAX_VALUE`
  A constant holding the largest positive finite value of type `Float16`, (2-2-10)·215, numerically equal to 65504.0.
  `static final Float16`
  Float16.`MIN_NORMAL`
  A constant holding the smallest positive normal value of type `Float16`, 2-14.
  `static final Float16`
  Float16.`MIN_VALUE`
  A constant holding the smallest positive nonzero value of type `Float16`, 2-24.
  `static final Float16`
  Float16.`NaN`
  A constant holding a Not-a-Number (NaN) value of type `Float16`.
  `static final Float16`
  Float16.`NEGATIVE_INFINITY`
  A constant holding the negative infinity of type `Float16`.
  `static final Float16`
  Float16.`POSITIVE_INFINITY`
  A constant holding the positive infinity of type `Float16`.
  Methods in jdk.incubator.vector that return Float16
  Modifier and Type
  Method
  Description
  `static Float16`
  Float16.`abs(Float16 f16)`
  Returns the absolute value of the argument.
  `static Float16`
  Float16.`add(Float16 addend, Float16 augend)`
  Adds two `Float16` values together as per the `+` operator semantics using the round to nearest rounding policy.
  `static Float16`
  Float16.`copySign(Float16 magnitude, Float16 sign)`
  Returns the first floating-point argument with the sign of the second floating-point argument.
  `static Float16`
  Float16.`divide(Float16 dividend, Float16 divisor)`
  Divides two `Float16` values as per the `/` operator semantics using the round to nearest rounding policy.
  `static Float16`
  Float16.`fma(Float16 a, Float16 b, Float16 c)`
  Returns 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 nearest `Float16`.
  `static Float16`
  Float16.`max(Float16 a, Float16 b)`
  Returns the larger of two `Float16` values.
  `static Float16`
  Float16.`min(Float16 a, Float16 b)`
  Returns the smaller of two `Float16` values.
  `static Float16`
  Float16.`multiply(Float16 multiplier, Float16 multiplicand)`
  Multiplies two `Float16` values as per the `*` operator semantics using the round to nearest rounding policy.
  `static Float16`
  Float16.`negate(Float16 f16)`
  Returns the negation of the argument.
  `static Float16`
  Float16.`nextDown(Float16 v)`
  Returns the floating-point value adjacent to `v` in the direction of negative infinity.
  `static Float16`
  Float16.`nextUp(Float16 v)`
  Returns the floating-point value adjacent to `v` in the direction of positive infinity.
  `static Float16`
  Float16.`scalb(Float16 v, int scaleFactor)`
  Returns `v` × 2`scaleFactor` rounded as if performed by a single correctly rounded floating-point multiply.
  `static Float16`
  Float16.`shortBitsToFloat16(short bits)`
  Returns the `Float16` value corresponding to a given bit representation.
  `static Float16`
  Float16.`signum(Float16 f)`
  Returns 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 Float16`
  Float16.`sqrt(Float16 radicand)`
  Returns the square root of the operand.
  `static Float16`
  Float16.`subtract(Float16 minuend, Float16 subtrahend)`
  Subtracts two `Float16` values as per the `-` operator semantics using the round to nearest rounding policy.
  `static Float16`
  Float16.`ulp(Float16 f16)`
  Returns the size of an ulp of the argument.
  `static Float16`
  Float16.`valueOf(double d)`
  Returns a `Float16` value rounded from the `double` argument using the round to nearest rounding policy.
  `static Float16`
  Float16.`valueOf(float f)`
  Returns a `Float16` value rounded from the `float` argument using the round to nearest rounding policy.
  `static Float16`
  Float16.`valueOf(int value)`
  Returns the value of an `int` converted to `Float16`.
  `static Float16`
  Float16.`valueOf(long value)`
  Returns the value of a `long` converted to `Float16`.
  `static Float16`
  Float16.`valueOf(String s)`
  Returns a `Float16` holding the floating-point value represented by the argument string.
  `static Float16`
  Float16.`valueOf(BigDecimal v)`
  Returns a `Float16` value rounded from the `BigDecimal` argument using the round to nearest rounding policy.
  Methods in jdk.incubator.vector with parameters of type Float16
  Modifier and Type
  Method
  Description
  `static Float16`
  Float16.`abs(Float16 f16)`
  Returns the absolute value of the argument.
  `static Float16`
  Float16.`add(Float16 addend, Float16 augend)`
  Adds two `Float16` values together as per the `+` operator semantics using the round to nearest rounding policy.
  `static int`
  Float16.`compare(Float16 f1, Float16 f2)`
  Compares the two specified `Float16` values.
  `int`
  Float16.`compareTo(Float16 anotherFloat16)`
  Compares two `Float16` objects numerically.
  `static Float16`
  Float16.`copySign(Float16 magnitude, Float16 sign)`
  Returns the first floating-point argument with the sign of the second floating-point argument.
  `static Float16`
  Float16.`divide(Float16 dividend, Float16 divisor)`
  Divides two `Float16` values as per the `/` operator semantics using the round to nearest rounding policy.
  `static short`
  Float16.`float16ToRawShortBits(Float16 f16)`
  Returns a representation of the specified floating-point value according to the IEEE 754 floating-point binary16 bit layout.
  `static short`
  Float16.`float16ToShortBits(Float16 f16)`
  Returns a representation of the specified floating-point value according to the IEEE 754 floating-point binary16 bit layout.
  `static Float16`
  Float16.`fma(Float16 a, Float16 b, Float16 c)`
  Returns 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 nearest `Float16`.
  `static int`
  Float16.`getExponent(Float16 f16)`
  Returns the unbiased exponent used in the representation of a `Float16`.
  `static int`
  Float16.`hashCode(Float16 value)`
  Returns a hash code for a `Float16` value; compatible with `Float16.hashCode()`.
  `static boolean`
  Float16.`isFinite(Float16 f16)`
  Returns `true` if the argument is a finite floating-point value; returns `false` otherwise (for NaN and infinity arguments).
  `static boolean`
  Float16.`isInfinite(Float16 f16)`
  Returns `true` if the specified number is infinitely large in magnitude, `false` otherwise.
  `static boolean`
  Float16.`isNaN(Float16 f16)`
  Returns `true` if the specified number is a Not-a-Number (NaN) value, `false` otherwise.
  `static Float16`
  Float16.`max(Float16 a, Float16 b)`
  Returns the larger of two `Float16` values.
  `static Float16`
  Float16.`min(Float16 a, Float16 b)`
  Returns the smaller of two `Float16` values.
  `static Float16`
  Float16.`multiply(Float16 multiplier, Float16 multiplicand)`
  Multiplies two `Float16` values as per the `*` operator semantics using the round to nearest rounding policy.
  `static Float16`
  Float16.`negate(Float16 f16)`
  Returns the negation of the argument.
  `static Float16`
  Float16.`nextDown(Float16 v)`
  Returns the floating-point value adjacent to `v` in the direction of negative infinity.
  `static Float16`
  Float16.`nextUp(Float16 v)`
  Returns the floating-point value adjacent to `v` in the direction of positive infinity.
  `static Float16`
  Float16.`scalb(Float16 v, int scaleFactor)`
  Returns `v` × 2`scaleFactor` rounded as if performed by a single correctly rounded floating-point multiply.
  `static Float16`
  Float16.`signum(Float16 f)`
  Returns 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 Float16`
  Float16.`sqrt(Float16 radicand)`
  Returns the square root of the operand.
  `static Float16`
  Float16.`subtract(Float16 minuend, Float16 subtrahend)`
  Subtracts two `Float16` values as per the `-` operator semantics using the round to nearest rounding policy.
  `static String`
  Float16.`toHexString(Float16 f16)`
  Returns a hexadecimal string representation of the `Float16` argument.
  `static String`
  Float16.`toString(Float16 f16)`
  Returns a string representation of the `Float16` argument.
  `static Float16`
  Float16.`ulp(Float16 f16)`
  Returns the size of an ulp of the argument.