Public bug reported:
After a recent Ubuntu upgrade I ran into a peculiar double-precision
floating point comparison bug using the default GCC 4.6.1 package.
The essence of the bug is that I define a floating point constant which
I then assign to a double precision variable. However, an equality
** Attachment added: This is a minimal test program to illustrate the bug. The
header comments contain the two different invocations of gcc that I used and
the differing outputs.
https://bugs.launchpad.net/bugs/899596/+attachment/2617792/+files/test.c
--
You received this bug notification
Some additional information: a colleague has reproduced this bug on
different Ubuntu 11.10 systems and has made the following observations:
1. The test program attached to this report works on 64bit using -m64
2. The test program also works with clang in both 32-bit and 64-bit modes
--
You