This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10902: comparing doubles is not consistent in gcc 3.3 (SuSE version)
- From: Jos van den Oever <jos at vandenoever dot info>
- To: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org,nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Wed, 21 May 2003 16:35:15 +0200
- Subject: Re: c++/10902: comparing doubles is not consistent in gcc 3.3 (SuSE version)
- References: <20030521141408.1716.qmail@sources.redhat.com>
On Wednesday 21 May 2003 16:14, bangerth@dealii.org wrote:
> Synopsis: comparing doubles is not consistent in gcc 3.3 (SuSE version)
>
> State-Changed-From-To: open->feedback
> State-Changed-By: bangerth
> State-Changed-When: Wed May 21 14:14:07 2003
> State-Changed-Why:
> I get the same result for 3.2.3, 3.3 (release) and 3.4
> (mainline):
>
> g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ x.cc
> g/x> ./a.out
> one != belowone
> double(1) != double(1) - DBL_EPSILON
>
> Could you possibly try with the 3.3 release, not with the
> snapshot SuSE is shipping?
I'm very glad to hear the bug is not present in the systems you tested.
I'd like to install the released version of gcc 3.3, but as this is a
production system I'm working on, I prefer to install rpms from SuSE.
I do have an old laptop at home, but it's not capable of compiling gcc in a
finite time.
If there are any (SuSE or other reliable) rpms with gcc 3.3 I'm willing to
test.