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 ...
The motivation for this project is because Python's math module's e constant only contains 16 digits of precision, this program can easily estimate to over 1000 digits for e, sin and cos The program ...
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 ...