14
2

I'll leave you folks to figure it out, but it works, and calculates π

4mon 17d ago by lemmy.world/u/over_clox in programming_horror@programming.dev

Isn't that just a take on the Leibniz series for pi?

Probably.

But every time I look at the formula/solution, I see a different way to do it...