Sine and Cosine Accuracy

Marcin Dalecki martin@dalecki.de
Fri May 27 18:27:00 GMT 2005


On 2005-05-27, at 15:36, Olivier Galibert wrote:
> Floating point values represent intervals,

This is mathematically wrong. The basic concept is that the
calculations domain as given by floating point numbers is used
to *model* the real number calculus. Certain constrains apply of course.
But there isn't any concept of representation here. Just a mapping.

> and when the interval size is way bigger than 2pi any value in [-1,1]
> is a perfectably acceptable answer for sin or cos.

???



More information about the Gcc mailing list