how to generate pi in c

Marko Vojinovic vvmarko at gmail.com
Sat Nov 6 12:18:45 UTC 2010


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? I mean, are these kind
of computations actually useful for someone, or is it just a matter of
"we have the power to do it, so let's do it" thing? Other than entry
into the Guinness book of records, that is?

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

:-)
Marko


More information about the users mailing list