Expand description
Software IEEE 754 half-precision (f16) conversion.
No external crate dependencies. Handles normals, denormals, infinity, and NaN. Round-to-nearest with ties-to-even for normal values.
Functionsยง
- f16_
bits_ to_ f32 - Convert f16 bit representation to f32.
- f32_
to_ f16_ bits - Convert f32 to f16 bit representation.