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

Joel Jaeggli joelja at darkwing.uoregon.edu
Tue Sep 16 12:47:09 EDT 2003


gnu bc is a useful tool to have.

it may take a while for the prompt to come back... ;)

1000 places takes around 3 seconds on a 900mhz pIII

joelja

On Tue, 16 Sep 2003, Joseph Mack wrote:

> 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
> 
> 

-- 
-------------------------------------------------------------------------- 
Joel Jaeggli  	       Unix Consulting 	       joelja at darkwing.uoregon.edu    
GPG Key Fingerprint:     5C6E 0104 BAF0 40B0 5BD3 C38B F000 35AB B67F 56B2


_______________________________________________
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