News

This post begins a series on how sin and cos are calculated in the c language standard math library on a typical Linux system. Because Python floats are really c doubles, what I write here applies to ...
is misleading: the approximation used for sin (x) is degree 11, not 9, and as above, the constants s2 to s5 are not just double approximations to the true Taylor coefficients. (In older versions of ...