Sine and Cosine Accuracy

Andrew Pinski pinskia@physics.uc.edu
Thu May 26 19:14:00 GMT 2005


On May 26, 2005, at 2:12 PM, Paul Koning wrote:
> What does (b) mean?  What if anything are its limitations?  Is
> returning 1.2e27 as the result for a sin() call authorized by (b)?  I
> would not have expected that, but I can't defend that expectation
> based on a literal reading of the text...


b) means that (-a)*(b-c) can be changed to a*(c-b) and other 
reassociation
opportunities.

Thanks,
Andrew Pinski



More information about the Gcc mailing list