1.5.24: sin() bug
Brian Dessent
brian@dessent.net
Wed Aug 29 17:51:00 GMT 2007
Brian Dessent wrote:
> > Since when was pi less than 2^-27?
>
> This is a kernel sin, a function over the limited range [-pi/4, pi/4],
> where the general case sin is reduced to kernel sin by the remainder of
> modulus pi/2.
And note that the testcase is not exactly pi, it's pi minus a very small
number:
// M_PI 3.14159265358979323846
double g = 3.1415926535897900074;
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list