What is the most efficient series to calculate sine?

1.7k Views Asked by At

What formula is used to calculate sine in modern computers?

Is Taylor formula

enter image description here

the best? What formulas converge faster, especially out of $2\pi$ range?

2

There are 2 best solutions below

0
On BEST ANSWER

There is not one formula. The best known method relies on the values of $\sin 1$, $\sin 0.1$, $\sin 10^{-2}$, $\dots,\sin 10^{-k}$, $\dots,\;$ for a small number of values of $k$, which can easily be calculated with Taylor's formula at any degree of accuracy.

Then the CORDIC algorithm can compute from these data the sine of any real number.

2
On

I don't think the chip-makers publish their microcode, but they almost certainly don't use Taylor series. It's more likely that they use either a CORDIC algorithm or an optimized polynomial approximation on some interval.