mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
This commit implements the 'e' half-float format: 10-bit mantissa, 5-bit exponent. It uses native _Float16 if supported by the compiler, otherwise uses custom bitshifting encoding/decoding routines. Signed-off-by: Matthias Urlichs <matthias@urlichs.de> Signed-off-by: Damien George <damien@micropython.org>
4.3 KiB
4.3 KiB