This is the mail archive of the
mailing list for the GCC project.
Re: why not consfold sin(const)
Toon Moene wrote:
Robert Dewar wrote:
In sensible languages for floating point computations, yes. One has to
conclude, though, that floating point arithmetic was added as an
afterthought to C - not surprising, given its initial niche.
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.
Seems like you might want to overlook this point in -ffast-math??