40 points · by jjuhl · 11y ago · 15 comments
It would be interesting to separate these two effects. You can get the former by /compiling/ with --ffast-math and the latter by /linking/ with -ffast-math.
BTW, to all the library writers out there: never ever link a shared library with -ffast-math. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522
>>> s = '4.74303020008e-322'
>>> f = float(s)
>>> print(str(f))
4.74303020008e-322
>>> import osgeo
>>> print(str(f))
0.0Despite the title, which promises an article with some interesting technical depth, I just don't feel like I learned anything. On the whole the piece comes off like a glib anecdote; lazy and not very informative.