4 ms·
Pi is a bit special because in order to get accurate argument reduction for trigonometric functions you needs lots of digits (IIRC ~1000 for double precision).
by jabl 4y ago
Pi is a bit special because in order to get accurate argument reduction for trigonometric functions you needs lots of digits (IIRC ~1000 for double precision).
E.g. https://redirect.cs.umbc.edu/~phatak/645/supl/Ng-ArgReduction.pdf https://redirect.cs.umbc.edu/~phatak/645/supl/Ng-ArgReductio...