== Why did you do this ?
I am not especially interested in the digits of Pi, but in the various algorithms involved to do arbitrary-precision arithmetic. Optimizing these algorithms to get good performance is a difficult programming challenge.
Arbitrary-precision arithmetic with huge numbers has little practical use, but some of the involved algorithms are interesting to do other things. In particular:
- The Discrete Fourier Transform. This transform is widely used in many algorithms and most modern electronic appliances (such as digital televisions, cell phones and music players) include at least one instance of it.
- The reliable managing of a very large amount of disk storage, at least for a single computer. Specific methods were developed to ensure high reliability and high disk I/O bandwidth. The same ideas can be applied to other fields such as video streaming or data base access.
- The whole computation is an extensive test for a computer including its CPU, RAM, disk storage and cooling system. A single bit error during the computation gives a bad result. A bad cooling results in a hardware failure.
But, as Benjamin Franklin was wont to ask, what's the use of a newborn baby?
It's still not known if pi is "normal" - has an equal distribution of digits. This can be used to test the hypothesis.
The digits of pi are apparently random, so different calculations on different machines can be compared to see if either is behaving oddly.
Computing pi is sometimes used as a benchmark for a machine's speed.
Some people are unreasonably obsessed.
The digits of pi can be used as "concrete random" numbers.
Can you please explain what do you mean by this? Digits of pi must be same no matter which machine is used to calculate.
I remember using a machine that started to give incorrect answers when it ran too hot, and it ran hot when it was working full speed. We had to tweak the compiler to add extra NOPs into the instruction path becuase the micro-code used less power in a NOP, thus generated less heat.
EDIT: I've realised this is another example of the sofware fixed the hardware: http://news.ycombinator.com/item?id=1031384
From here: http://en.wikipedia.org/wiki/Group_theory
"An understanding of group theory is also important in physics and chemistry and material science."
In short, any time we break a new barrier we open ourselves up to something potentially useful for the future.
How would you do it?
There are some serious technical challenges, and the FAQ and accompanying paper mention some. It's not easy, so "just for the challenge" might be an answer. "To learn stuff" is another.
In short, the value isn't always in the destination, it's sometimes in the journey.
Also, in Contact (the novel) a hidden message in Pi is a key component in a debate about the existence of god.
In reality, because he can.
We do it because it's there.