how to generate pi in c

Klaus-Peter Schrage kpschrage at gmx.de
Sat Nov 6 16:13:52 UTC 2010


Am 06.11.2010 13:18, schrieb Marko Vojinovic:
> 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?

You are probably alle wrong - pi equals 3.125, see:
http://www.correctpi.com/
Klaus


More information about the users mailing list