This is the mail archive of the gcc@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!


Robert Dewar <dewar@gnat.com> writes:

| > Please do not assume that "real arithmetic" optimizations have already
| > been performed by the programmer by hand.
| 
| The other view point here is "please don't assume the programmer
| is incompetent and does not know what he is doing. Floating-point
| operations are precisely defined in IEEE and if I am a serious
| fpt programmer, I write the computations I want, and I do not
| want the compiler substituting arbitrary non-equivalent
| expressions.

Agreed in principle, but I think the whole point is that if you're a
competent floating point programmer, you would not be using
-ffast-math :-)

-- Gaby


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