Package 

Object Half.Companion

    • 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 Integer getSIZE() 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 Integer getMAX_EXPONENT() Maximum exponent a finite half-precision float may have.
      final Integer getMIN_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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.

      • getSIZE

         final Integer getSIZE()

        The number of bits used to represent a half-precision float value.

      • getEPSILON

         final <ERROR CLASS> getEPSILON()

        Epsilon is the difference between 1.0 and the next value representable by a half-precision floating-point.

      • 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.