github.com·12 november 2026
speedrunpapi/hardware/audit/ieee-float-pkg at main · lmtlssss/speedrunpapi
binade
denormal numbers
exact arithmetic
float32
float64
floating-point arithmetic
GHDL
IEEE standards
infinities
mathematical operations
NVC
rounding errors
signed zeros
simulator crashes
VHDL
github.com
The IEEE's floating-point package, ieee.float_pkg, in VHDL standards 1076-2008 and 1076-2019, shows discrepancies in exact arithmetic operations. Tests reveal errors in rounding and simulator crashes, affecting operations like sqrt, mac, and resize. The issues span float32 and float64 formats, with varying error rates across rounding styles. These findings highlight potential reliability concerns in floating-point arithmetic implementations.