I assume number three is fastest? Maybe something to add to the Math module, in case anyone needs Pi<tm>.
/ Mirar
Previous text:
2003-03-21 10:05: Subject: Re: Do we have a floatingpoint bug?
Bugger, new urls:
http://fredrik.hubbe.net/hacks/pi.pike.gz (small and easy to read) http://fredrik.hubbe.net/hacks/pi2.pike.gz (more optimized) http://fredrik.hubbe.net/hacks/pi3.pike.gz (complicated, very fast) http://fredrik.hubbe.net/hacks/pi4.pike.gz (translated from a signature)
/ Fredrik (Naranek) Hubinette (Real Build Master)