This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What is acceptable for -ffast-math? A numerical viewpoint
- To: Wolfgang Bangerth <wolfgang dot bangerth at iwr dot uni-heidelberg dot de>
- Subject: Re: What is acceptable for -ffast-math? A numerical viewpoint
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 01 Aug 2001 16:55:46 +0200
- Cc: gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <Pine.SOL.4.10.10108011122490.29695-100000@eros>
Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de> writes:
| I belong to the latter group and can only speak for them.
I do extensive numerics (for living) in C++, and clearly you're not
speaking for me.
| - denormals: if you run into the risk of getting NaNs one way but not
| the other, you most certainly already have gone beyond the limits of
| your program
Untrue. Using Graeffe's iteration (a stable algorithm to find the
greatest or smallest root radius) to isolate polynomial roots, one
can get NaNs for specific reasons without necessarily using an
unstable formaltation of the problem -- that was the whole point of a
subproject of the FIRSCO project.
-- Gaby