11 Oct
2025
11 Oct
'25
1:35 p.m.
What's your idea for exposing this? Would it be a separate type, or would the fast types default to this hardware-backed implementation if available?
I planned on making it it's own type, and then enabling or disabling it's availability on platform detection. The design is fundamentally the same as the decimalXX_t types. Since the encoding is different and basic ops (comp, add, sub, mul, div) are provided there's no internal code overlap between for example decimal32_t and hardware_decimal32_t. Matt