exp() bug?
Eljay Love-Jensen
eljay@adobe.com
Tue Oct 5 16:24:00 GMT 2004
Hi Lester,
Not a bug. Different platforms have different hardware, and as such
different rounding or algorithms can cause variation in the least
significant bits. (In non-technical terms, the fiddlybits.)
There are techniques one can use to mitigate those situations. But they
are hard to eliminate.
Even in Java, which is supposed to be JVM centric and thus platform
neutral, suffers from this problem without taking measures to guarantee
IEEE 754 compliance.
Sincerely,
--Eljay
More information about the Gcc-help
mailing list