home *** CD-ROM | disk | FTP | other *** search
- Extended Precision Arithmetic
-
- This is a package that allows a FORTRAN program to have
- access to arbitrary precision floating point numbers.
-
- Program CALPI is an example of how these routines can be
- used to calculate pi to many decimal places. This program uses an
- iterative method described in the February 1988 issue of
- Scientific American. The sequence to find pi converges extremely
- rapidly. The computation times are on a generic PC using Microsoft
- FORTRAN 3.3.
-
- Iteration Number of Correct Digits Computation Time
-
- 1 8
-
- 2 41 8 sec
-
- 3 171 1.5 min
-
- 4 694 25 min
-
- 5 2792 8.75 hours
-
-
- The idea in writing these routines was to make them
- portable. They should work on almost any computer with a FORTRAN
- 77 compiler.
-
-
- Mark P. Esplin
- Stewart Radiance Lab
- 139 The Great Rd.
- Bedford Mass, 01730
-