From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28140 invoked by alias); 21 May 2003 14:36:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 28118 invoked by uid 71); 21 May 2003 14:36:01 -0000 Date: Wed, 21 May 2003 14:36:00 -0000 Message-ID: <20030521143601.28103.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Jos van den Oever Subject: Re: c++/10902: comparing doubles is not consistent in gcc 3.3 (SuSE version) Reply-To: Jos van den Oever X-SW-Source: 2003-05/txt/msg02298.txt.bz2 List-Id: The following reply was made to PR c++/10902; it has been noted by GNATS. From: Jos van den Oever To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/10902: comparing doubles is not consistent in gcc 3.3 (SuSE version) Date: Wed, 21 May 2003 16:35:15 +0200 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.