Pi is defined as the ratio of $\frac{c}{r}$. Many ancient scintist try to find the value of pi. Some of the values are $\frac{22}{7}$(good hold upto 10 decimal point), $\frac{355}{113}$ (good hold upto 63 Decimal point). modern computer determine upto million decimal point.
my qustion is that how ( algorithm or formula ) modern computer find the value of pi ?