API

Function FromHalfFloat

  • Converts a 16-bit half-float bit pattern back to a 32-bit float.

    Parameters

    • value: number

      the half-float bit pattern, in the range 0..65535

    Returns number

    the decoded float