why not consfold sin(const)

Robert Dewar dewar@gnat.com
Mon Sep 20 23:31:00 GMT 2004


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.

UGH!

> 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??



More information about the Gcc mailing list