From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22705 invoked by alias); 14 Feb 2002 21:51:37 -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 22619 invoked by uid 61); 14 Feb 2002 21:51:35 -0000 Date: Thu, 14 Feb 2002 13:51:00 -0000 Message-ID: <20020214215134.22616.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, yosefk@cs.huji.ac.il From: ljrittle@gcc.gnu.org Reply-To: ljrittle@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, yosefk@cs.huji.ac.il, gcc-gnats@gcc.gnu.org X-Mailer: gnatsweb 2.9.3 Subject: Re: c++/5692: g++ 2.96, ix86: (int)(x*y) result depends on statements near it like cout << endl X-SW-Source: 2002-02/txt/msg00347.txt.bz2 List-Id: Synopsis: g++ 2.96, ix86: (int)(x*y) result depends on statements near it like cout << endl State-Changed-From-To: open->closed State-Changed-By: ljrittle State-Changed-When: Thu Feb 14 13:51:34 2002 State-Changed-Why: Some FP hardware and OSes will support your test by their design but... Please consider that ISO C does not guarantee that your test will work as you expect. You want to learn about the concepts related to a standard macro DBL_EPSILON . http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5692