16-bits floating point type (Half). Implements conversion from ftp://www.fox-toolkit.org/pub/fasthalffloatconversion.pdf by Jeroen van der Zijp.
Supports builtin operations that float support, but computations are performed in 32-bits float and converted back.
Construct a half from a float.
Construct a half from another half.
Assign with float.
Assign with another half.
Converts to a float.
Converts to a pretty string.
rounding is not IEEE compliant.
See Implementation
16-bits floating point type (Half). Implements conversion from ftp://www.fox-toolkit.org/pub/fasthalffloatconversion.pdf by Jeroen van der Zijp.
Supports builtin operations that float support, but computations are performed in 32-bits float and converted back.