Alternate Sine Implementation Missing

9 views
Skip to first unread message

Adam Stambler

unread,
Jan 11, 2014, 12:43:23 PM1/11/14
to libfi...@googlegroups.com
Hi All,

On the wiki page for trig functions,  there is a description of an alternate sine function where they use the symmetry of the sine and the following function to just operate in -pi/2 to pi/2. 

if (angle > (pi / 2))
    angle
= pi - angle;
else if (angle < -(pi / 2))
    angle
= -pi - angle;


However, when I look through the code for sin, it is not present in the library.  Am I missing something?

Regards,
Adam 
Reply all
Reply to author
Forward
0 new messages