Skip to content
Pi with the Chudnovsky Algorithm!!
Profile icon
DuckMonkey

Chudnovsky Algorithm (now with percentage correct meter and explanation in comments for DynamicSquid)

So, if you've seen my last few projects, you know what this is. This program calculates digits of pi using the Chudnovsky Algorithm. I found this specific Algorithm while searching for the specific method Google used to find 31 Trillion digits of Pi. What's so special about this algorithm is not only that it's several times more accurate than other algorithms, but the iterations in this algorithm are synonymous with the digit printed! This means that this specific calculator can calculate n digits of pi. This script may as well not generate 31 trillion digits, not only because I don't trust my own scripts, but because I doubt any of you have a powerful enough computer lmao (nor do I). Thanks for looking at my script!!

You are viewing a single comment. View All
Profile icon
SlateTheDev

it has a copy of pi, why is it there?

Profile icon
DuckMonkey

@SlateTheDev
as the comment above it says, it's merely for comparison