===============================================================================
Date: 11-13-95 Time: 02:36a Number: 1013
From: Mike Harris Refer:
To: All Board ID: FIX Reply:
Subject: Calculating PI 132: fido.en.c_ec Status: Public
-------------------------------------------------------------------------------
I've written a few programs which calculate PI till the cows
come home. Unfortunately, they take eons to execute. Does
anyone have some code they'd like to share on how to
calculate PI to a zillion digits? I'd like as fast a code
as possible.
Even some different formulae (series) for doing the task
would be ok. I'm currently using a series something like...
4*(1/3 + 1/5 - 1/7 + 1/9 ....)
I can't remember off hand the exact series, but it is
similar to what I've put above.
Comments?
TTYL
_____________________________________________________________________
| |
| Mike A. Harris Co-sysop of Collosus Soo Resource Network (CSRN) |
| NO, I'm _NOT_ the Premier of Ontario |
| Internet: Mike.Harris@csrnet-bbs.com Phone: (705)946-3963 |
|_____________________________________________________________________|
--- WILDMAIL!/WC v4.12
* Origin: InterNet Gate Freq CSRNET 1:222/21 for App! (1:222/21.0)
===============================================================================