Re:Java Hangs When Converting 2.2250738585072012e-308
by Uchikoma on Tuesday February 01, 2011 @05:52AM
(#2165143)
Yes, astonishing how Oracle (and others) didn't check their code when this surfaced in PHP to determine if they are affected too.
[ Parent
| on HN ]
Re:Java Hangs When Converting 2.2250738585072012e-308
by gaius on Tuesday February 01, 2011 @07:39AM
(#2165307)
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.
Re:Java Hangs When Converting 2.2250738585072012e-308
by pilif on Tuesday February 01, 2011 @08:54AM
(#2165443)
They did fix it in 4.5 by having you to pass
-fexcess-precision=standard
Which apparently defaults to not being standard compliant.
Re:Java Hangs When Converting 2.2250738585072012e-308
by krakensden on Tuesday February 01, 2011 @03:01PM
(#2167089)
it depends on how you define 'standard compliant', and fiddling with floating point behavior tends to break programs and make people angry.