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 ...
In this case, the function just returns do_sin (x, 0) (with a comment “Max ULP is 0.548”, presumably meaning the ... How do c and Python compute sin and cos ... {-40} \vert x \vert\) is good enough in ...