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

Joseph Mack mack.joseph at
Tue Sep 16 09:34:24 EDT 2003

egan at wrote:
> > How do you do a calculation to 10^6 places on a 32 bit machine?

> echo "scale=1000000;a(1)*4" | bc -l

:-) I didn't know you could do this (still waiting for the prompt to return).


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