-
public class Half.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerSIZEprivate final <ERROR CLASS>EPSILONprivate final IntegerMAX_EXPONENTprivate final IntegerMIN_EXPONENTprivate final <ERROR CLASS>LOWEST_VALUEprivate final <ERROR CLASS>MAX_VALUEprivate final <ERROR CLASS>MIN_NORMALprivate final <ERROR CLASS>MIN_VALUEprivate final <ERROR CLASS>NaNprivate final <ERROR CLASS>NEGATIVE_INFINITYprivate final <ERROR CLASS>NEGATIVE_ZEROprivate final <ERROR CLASS>POSITIVE_INFINITYprivate final <ERROR CLASS>POSITIVE_ZEROpublic final static Half.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final <ERROR CLASS>fromBits(Integer bits)Returns the Half value corresponding to the given bit representation according to the IEEE 754 floating-point half-precision bit layout. final IntegergetSIZE()The number of bits used to represent a half-precision float value. final <ERROR CLASS>getEPSILON()Epsilon is the difference between 1.0 and the next value representable by a half-precision floating-point. final IntegergetMAX_EXPONENT()Maximum exponent a finite half-precision float may have. final IntegergetMIN_EXPONENT()Minimum exponent a normalized half-precision float may have. final <ERROR CLASS>getLOWEST_VALUE()Smallest negative value a half-precision float may have. final <ERROR CLASS>getMAX_VALUE()Maximum positive finite value a half-precision float may have. final <ERROR CLASS>getMIN_NORMAL()Smallest positive normal value a half-precision float may have. final <ERROR CLASS>getMIN_VALUE()Smallest positive non-zero value a half-precision float may have. final <ERROR CLASS>getNaN()A Not-a-Number representation of a half-precision float. final <ERROR CLASS>getNEGATIVE_INFINITY()Negative infinity of type half-precision float. final <ERROR CLASS>getNEGATIVE_ZERO()Negative 0 of type half-precision float. final <ERROR CLASS>getPOSITIVE_INFINITY()Positive infinity of type half-precision float. final <ERROR CLASS>getPOSITIVE_ZERO()Positive 0 of type half-precision float. -
-
Method Detail
-
fromBits
final <ERROR CLASS> fromBits(Integer bits)
Returns the Half value corresponding to the given bit representation according to the IEEE 754 floating-point half-precision bit layout.
-
getEPSILON
final <ERROR CLASS> getEPSILON()
Epsilon is the difference between 1.0 and the next value representable by a half-precision floating-point.
-
getMAX_EXPONENT
final Integer getMAX_EXPONENT()
Maximum exponent a finite half-precision float may have.
-
getMIN_EXPONENT
final Integer getMIN_EXPONENT()
Minimum exponent a normalized half-precision float may have.
-
getLOWEST_VALUE
final <ERROR CLASS> getLOWEST_VALUE()
Smallest negative value a half-precision float may have.
-
getMAX_VALUE
final <ERROR CLASS> getMAX_VALUE()
Maximum positive finite value a half-precision float may have.
-
getMIN_NORMAL
final <ERROR CLASS> getMIN_NORMAL()
Smallest positive normal value a half-precision float may have.
-
getMIN_VALUE
final <ERROR CLASS> getMIN_VALUE()
Smallest positive non-zero value a half-precision float may have.
-
getNaN
final <ERROR CLASS> getNaN()
A Not-a-Number representation of a half-precision float.
-
getNEGATIVE_INFINITY
final <ERROR CLASS> getNEGATIVE_INFINITY()
Negative infinity of type half-precision float.
-
getNEGATIVE_ZERO
final <ERROR CLASS> getNEGATIVE_ZERO()
Negative 0 of type half-precision float.
-
getPOSITIVE_INFINITY
final <ERROR CLASS> getPOSITIVE_INFINITY()
Positive infinity of type half-precision float.
-
getPOSITIVE_ZERO
final <ERROR CLASS> getPOSITIVE_ZERO()
Positive 0 of type half-precision float.
-
-
-
-