in reply to Re: Calculating Pi
in thread Calculating Pi

Both of which are limited by Perl's floating point limitations. Perhaps Math::BigFloat will be helpful?