There was no test suite for it available that I could use for correctness checks, so I did what I could.
I also implemented IEEE 754 floating point in asm. For that I did have an exhaustive test suite, and passed it 100%.
I also implemented IEEE 754 floating point in asm. For that I did have an exhaustive test suite, and passed it 100%.
(Though, Steele-White expresses these slightly differently, as preserving information, having the shortest possible output, and rounding correctly. Completeness, uniqueness, and determinism seem to be equivalent and are easier to prove.)
--
0: Available at <https://fmt.dev/papers/Dragonbox.pdf>. It's pretty easy to understand either with a numerical analysis background or after having worked through volume 2 of Knuth's TAoCP.