Questions regarding Pi calculating program
<p>I am interested in writing a program that calculates the value of Pi to infinite decimal places. Its something I'm just looking to do to pass time, and have something to work on. So, regarding that, I have a couple of questions:</p>

<ol>
<li><p>Benchmarking softwares that calculate Pi, what system do they use? Do they use an infinite function that converges towards the value if pi with every passing iteration? If so, what is the best function?</p></li>
<li><p>What would be the best approach to store the calculated value in a variable? Obviously, no existing data type will be able to hold that amount of information so how do I tackle that?</p></li>
</ol>
