News for hackers. Stuff that matters.
Re:A Million Digits of Pi in 9 Lines of JavaScript by kromem on Thursday September 12, 2019 @04:59PM (#20956393)
If you look at the Taylor series link, you can see the sum representations of trigonometric functions.

So for instance, the 3/5/7 is just the (2n+1) value.

The other looks like the sum of the product of (2n-1)/(2n) for values 1 to n.

There are no comments on this comment yet.