Wow, didn't expect this tool to be on Hacker News six years after publication! Herbgrind author here, ask me any questions you like! Also, if you're interested in this stuff, the Herbie project (which I also worked on) for numerical program synthesis is also really helpful for writing numerical code, and has had a lot of development over the years.
What do you think programming languages/libraries/tools could do to make floats less scary for the common people? I feel there is lot of superstition around floats, some of it more well deserved than others, but it leads people to approach fp with great distrust.
Of course herbie is already good step here, but it is still somewhat niche.
Thinking of all the people (some even actual friends) worked so long on numerical stability on scalar floating point operations, nearing a time when model-checking and proof tool are actually usable by the really-motivated developer ; thinking of them witnessing the arrival of GPUs and Tensor Cores, mixed-precision-everywhere and the tools now needing to scale so far it seems like starting from scratch...
aSanchezStern|2 years ago
zokier|2 years ago
Of course herbie is already good step here, but it is still somewhat niche.
phkahler|2 years ago
[1] https://solvespace.com/index.pl
There are hundreds of numerical algorithms in there, and we have some bugs that might be related to this kind of implementation error.
99112000|2 years ago
touisteur|2 years ago
1over137|2 years ago
sph|2 years ago
https://herbgrind.ucsd.edu/getting-herbgrind.html