From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20906 invoked by alias); 6 Nov 2002 21:35:01 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 20895 invoked from network); 6 Nov 2002 21:34:58 -0000 Received: from unknown (HELO soliton.integrable-solutions.net) (193.51.208.204) by sources.redhat.com with SMTP; 6 Nov 2002 21:34:58 -0000 Received: (from gdr@localhost) by soliton.integrable-solutions.net (8.11.6/8.11.6/SuSE Linux 0.5) id gA6LZwj01834; Wed, 6 Nov 2002 22:35:58 +0100 To: Jan Hubicka Cc: Richard Henderson , gcc-patches@gcc.gnu.org, aj@suse.de Subject: Re: Simplify floating point conversions II References: <20021105171400.GX14655@kam.mff.cuni.cz> <20021105173800.GD20534@redhat.com> <20021106092310.GE22059@kam.mff.cuni.cz> <20021106175441.GZ22059@kam.mff.cuni.cz> <20021106180930.GA22066@redhat.com> <20021106211059.GB1316@atrey.karlin.mff.cuni.cz> From: Gabriel Dos Reis In-Reply-To: Jan Hubicka's message of "Wed, 6 Nov 2002 22:10:59 +0100" Organization: Integrable Solutions Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Date: Wed, 06 Nov 2002 13:35:00 -0000 Message-ID: X-SW-Source: 2002-11/txt/msg00339.txt.bz2 Jan Hubicka writes: | > On Wed, Nov 06, 2002 at 06:54:41PM +0100, Jan Hubicka wrote: | > > + For fast math it would be safe probably to convert (float)sqrt(x) | > > + into sqrt((float)x), but in strict mode the argument can overflow. */ | > | > I don't believe this to be true. | | What you don't believe? Likew RTH, I, skeptical that your assertion is right. | That in ffast-math we can do the transformation? Do we really need to do that transformation? That is is there any real evidence that it brings any real benefit? I would be reluctant to include it even in -funsafe-math. -- Gaby