This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What is acceptable for -ffast-math? (Was: associative law incombine)
- To: Wolfgang Bangerth <wolfgang dot bangerth at iwr dot uni-heidelberg dot de>
- Subject: Re: What is acceptable for -ffast-math? (Was: associative law incombine)
- From: Gabriel Dos_Reis <gdosreis at sophia dot inria dot fr>
- Date: Wed, 1 Aug 2001 20:12:33 +0200 (MEST)
- Cc: Gabriel Dos_Reis <Gabriel dot Dos_Reis at sophia dot inria dot fr>, gcc at gcc dot gnu dot org, tim at hollebeek dot com
- References: <15208.13215.622778.721116@perceval.inria.fr><Pine.SOL.4.10.10108011901530.29695-100000@eros>
| and probably a whole lot of other things that are equally "dubious".
|
|
| > But then, if they would have written that form in the first place.
|
| But, as I said, there might be cases where you can't write it in an
| optimized way in the first place, such as in
| inline double f() { return a/b; }
| inline double g() { return c; }
| x = f()/g();
| plus inlining.
But then is 0.0 is acceptable for 0.125 for speed?
-- Gaby