Half
A 16-bit half-precision floating-point number conforming to IEEE 754-2008.
Layout: 1 sign bit, 5 exponent bits, 10 mantissa bits.
+-+------+------------+
|s|eeeee |mmmmmmmmmm |
+-+------+------------+Content copied to clipboard
Minimum (denormal) value: 2⁻²⁴ ≈ 5.96e-8
Minimum (normal) value: 2⁻¹⁴ ≈ 6.10e-5
Maximum value: (2 − 2⁻¹⁰) × 2¹⁵ = 65504
Integers in 0, 2048 are represented exactly.
Properties
Link copied to clipboard
The absolute value of this Half.
Link copied to clipboard
The mantissa (significand) bits, in the range 0, 1023.
Functions
Link copied to clipboard
Returns true if this value is positive or negative infinity.
Link copied to clipboard
Returns true if this value is a normalized (non-denormal, non-zero, finite) number.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard