I once downloaded a text file containing pi to around 6-billion digits. I also once made the mistake of opening this text file. Took about 15 minutes to load it into memory
This is awesome, an actual algorithm for finding pi
Quote:
1. Initial value setting;
a = 1 b = 1 / SqRt(2) t = 1/4 x = 1
2. Repeat the following statements until the difference of a and b is within the desired accuracy;
y = a
a = (a+b) / 2
b = SqRt(b*y)
t = t - x * (y-a)^2
x = 2 * x
3. Pi is approximated with a, b and t as;
Pi = ((a+b)^2) / (4*t)
|
Link
If I had the desire to, I'd toss this into my C compiler right now and run it, but nah...
Apparently the record is 206,158,430,000 accurate digits of pi, held by
Y. Kanada and D. Takahashi. Figures they'd be Japanese
If you want to see pi to 206,158,430,000 digits really bad, go
here and help yourself. It's pretty damn slow, though. I estimate the total size to be around:
201326592 Kb, which would be...
196608 Mb, which would be...
192 Gb
Who the hell wants to fill up a really, really expensive hard drive with nothing but pi?