+ 1
does anybody can calculate Ï up to million using c++
4 Answers
+ 1
Ï!= 22/7
+ 1
You can use ramanujan's formula to calculate the nth digit without calculating all the previous n-1 ones.
https://crypto.stanford.edu/pbc/notes/pi/ramanujan.html
0
Actually the one formula that calculates the nth digit without calculating the previous ones is the Bailey-Borwein-Plouffe formula. I was wrong.
0
please help