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: why not consfold sin(const)


On Tuesday 21 September 2004 01:12, Scott Robert Ladd wrote:
> Toon Moene wrote:
> > All functions in <math.h> can set errno for domain and range errors; in
> > other words, those functions are not pure, and cannot be moved out of
> > loops or CSE'd away.
>
> Another reason to write numerical code in a sensible language like Fortran
> 95. ;)
>
> That's not really a flippant remark. How far do we go to force numerical
> performance in C?

Since all languages try to be general purpose nowadays (class
inheritance in Fortran, whee!), probably pretty far!

Gr.
Steven



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