Re: Randomness of digits within pi



jonas.thornvall@xxxxxxxxxxx wrote:
On 9 Nov, 17:58, gr...@xxxxxxxxxxxxxxxxx (Daniel Grubb) wrote:
[...]
Here's a program that can calculate pi to 33 million places fairly quickly
on most modern machines.

http://www.geocities.com/hjsmithh/Pi/Super_Pi.html

Ok i admit i am being lazy anyone who can distribute it as file on
bittorent?
Someone must have run the program and burned it down?

You might want to send an e-mail to Xavier Gourdon, the author
of the program Pifast ...

I used Xavier Gourdon's PiFast43.exe program to compute
pi to 1 billion decimals. It took about 12 to 25 hours on a PC
with an Athlon XP 2200 32-bit processor and 1 GB of RAM.

The resulting file, at 1.28 GB, can be opened with Notepad
to see the first 50 or 100 lines or so, but it is so large that
it takes minutes to go down 2 pages.

I believe it would it would be easy to access the file
using C or C++ with fopen(), fscanf(), fclose().

I seem to remember that the file has line numbers,
line feeds/CR (the Windows CR+LF line breaks) and
some information about the start and finish of the
computation at the beginning of the file.

Cf.:
< http://numbers.computation.free.fr/Constants/PiProgram/pifast.html >

David Bernier
.