GCC beaten by ICC in stupid trig test!
Toon Moene
toon@moene.indiv.nluug.nl
Fri Mar 26 01:29:00 GMT 2004
Roger Sayle wrote:
> Toon does numerical weather
> forecasting, and he seems happy with -ffast-math.
Indeed, and perhaps the incongruous rambling on "erroneous floating
point approximations" is entirely the fault of the group that uses (and
by any theoretical analysis is allowed to use) -ffast-math (or whatever
the option might be called on a compiler from one of our competitors.
For me, it's very simple: If -ffast-math leads to answers that are less
accurate (in the verification-against-observation-sense) or unphysical
(against theoretical limit analysis), then I'll inspect my Fortran code
and repair the formulation (either a single expression or the layout of
loop code) that is responsible for the mayhem.
Under no circumstances I will give up using -ffast-math.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc.gnu.org/fortran/ (under construction)
More information about the Gcc
mailing list