how to generate pi in c

Mogens Kjaer mk at lemo.dk
Sat Nov 6 16:24:18 UTC 2010


On 11/06/2010 01:18 PM, Marko Vojinovic wrote:
> On Sat, Nov 6, 2010 at 8:43 AM, Mogens Kjaer <mk at lemo.dk> wrote:
>>> http://www.kurims.kyoto-u.ac.jp/~ooura/pi_fft.html
>>>
>>> You'll need RAM to get many digits.
>>
>> 1.6 G decimals in 20 hours on a machine with 16G RAM, running
>> x86_64 Fedora 12.
> 
> Really, I'm curious, is there any real-world problem where anyone
> would actually *need* pi to a G decimal places?

Is there a *need* to climb Mount Everest ?

Actually, I had a machine with a RAM failure a couple of years ago.

It took days for Memtest86+ to find this error. The FFT code above
(the same was used in Seti at Home) made the error show up within a
few hours.

...
> 
> Or maybe there are still people who believe pi is rational rather than
> transcendent, and look for a cyclic repeat pattern in the decimals?
> ;-)

Read Carl Sagan: Contact. :-)

Mogens



-- 
Mogens Kjaer, mk at lemo.dk
http://www.lemo.dk


More information about the users mailing list