Hacker News new | past | comments | ask | show | jobs | submit login

Yes, astonishing how Oracle (and others) didn't check their code when this surfaced in PHP to determine if they are affected too.



Yet not astonishing how the GCC team didn't fix it once, for everyone?

PS I am pretty sure Oracle, at least on Sun, used SPARCworks compiler, not GCC, from linking C++ against their libs.


They did fix it in 4.5 by having you to pass

    -fexcess-precision=standard
Which apparently defaults to not being standard compliant.


it depends on how you define 'standard compliant', and fiddling with floating point behavior tends to break programs and make people angry.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: