howto calculate pi to large (eg 10^6) places

Joseph Mack mack.joseph at
Mon Sep 15 07:19:10 EDT 2003

I was reading Petr Beckmann's book on the history of pi, which includes a chapter
on the digit hunters (people who calculated pi to large numbers of digits).
He says that (repeatedly) calculating pi to large numbers of places is a good way
of testing whether a machine is functioning accurately.

I just looked with google for such a program but couldn't find anything that went 
beyond the bit width (32 or 64) of the host machine. Does anyone know where
I can get the code? How do you do a calculation to 10^6 places on a 32 bit

Thanks Joe

Joseph Mack PhD, High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb at
Beowulf mailing list, Beowulf at
To change your subscription (digest mode or unsubscribe) visit

More information about the Beowulf mailing list