This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC beaten by ICC in stupid trig test!


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]