Strange bug/problem with floating point assignments
Christian Ehrhardt
ehrhardt@mathematik.uni-ulm.de
Tue May 6 13:29:00 GMT 2003
On Tue, May 06, 2003 at 01:43:24PM +0200, Per Lundberg wrote:
> There seems to be a very serious error pertaining floating point
> assignments. The attached source code file demonstrates it. This is a
Nope. The floating point constants you specify are not representable
exactly in the IEEE floating point format. Hence the rounding differences.
See the section: ``Problems with floating point computations'' on
http://gcc.gnu.org/bugs.html.
regards Christian
--
THAT'S ALL FOLKS!
More information about the Gcc-bugs
mailing list