HALF Structure

An alias to uint16_t packed with a 16-bit floating-point number consisting of a sign bit, a 5-bit biased exponent, and a 10-bit mantissa.

Syntax

struct HALF  

Remarks

The HALF data type is equivalent to the IEEE 754 binary16 format.

Note the following limits:

HALF_MIN = 6.10352e-5f  
HALF_MAX = 65504.f  

For more information refer to Half precision floating-point format.

Requirements

Header: Declared in directxmath.h.