eddybeddyb@mastodon.social
Nov 12, 2026, 9:23 PM@gloriouscow I ported https://github.com/rust-lang/rustc_apfloat from C++ and learned a lot in the process, but I never found a good test suite I was happy with - for certain things I ended up with fuzzing and even exhaustive search (not feasible for f32 and bigger), and did find some bugs - sadly I couldn't spend as much time on it as I wished
on the upside, it does have an impl of the x87 80-bit format so feel free to test that and report issues to upstream LLVM because they likely have the same bugs lolsob