f8/README.md
2026-02-17 03:57:51 +03:00

10 lines
414 B
Markdown

# F8: 8-bit floats
<div class="warning">Not for production use!</div>
F8 is a toy software floating-point math library.
It provides an 8-bit floating point type `F8`, with 5 mantissa bits, 3 exponent bits, and no sign bit.
The format used resembles [IEEE 754] binary formats but stripped down to the bare necessities: the only special value supported is zero.
[IEEE 754]: https://en.wikipedia.org/wiki/IEEE_754