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

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


egan at sense.net 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).

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 epa.gov
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list