gfm.math.half

Undocumented in source.

Members

Functions

floatToHalf
ushort floatToHalf(float f)

Converts from float to half.

halfToFloat
float halfToFloat(ushort h)

Converts from half to float.

Structs

half
struct half

16-bits floating point type (Half). Implements conversion from ftp://www.fox-toolkit.org/pub/fasthalffloatconversion.pdf by Jeroen van der Zijp.

Meta