ACM Home Page
Please provide us with feedback. Feedback
Algorithm 719: Multiprecision translation and execution of FORTRAN programs
Full text PdfPdf (2.03 MB)
Source ACM Transactions on Mathematical Software (TOMS) archive
Volume 19 ,  Issue 3  (September 1993) table of contents
Pages: 288 - 319  
Year of Publication: 1993
ISSN:0098-3500
Author
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 61,   Citation Count: 15
Additional Information:

appendices and supplements   abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/155743.155767
What is a DOI?

APPENDICES and SUPPLEMENTS
gZip719.gz (88 KB)
multiprecision translation and execution of Fortran programs
Gams: a3c, a3d, a4c, a4d


ABSTRACT

This paper describes two Fortran utilities for multiprecision computation. The first is a package of Fortran subroutines that perform a variety of arithmetic operations and transcendental functions on floating point numbers of arbitrarily high precision. This package is in some cases over 200 times faster than that of certain other packages that have been developed for this purpose. The second utility is a translator program, which facilitates the conversion of ordinary Fortran programs to use this package. By means of source directives (special comments) in the original Fortran program, the user declares the precision level and specifies which variables in each subprogram are to be treated as multiprecision. The translator program reads this source program and outputs a program with the appropriate multiprecision subroutine calls. This translator supports multiprecision integer, real, and complex datatypes. The required array space for multiprecision data types is automatically allocated. In the evaluation of computational expressions, all of the usual conventions for operator precedence and mixed mode operations are upheld. Furthermore, most of the Fortran-77 intrinsics, such as ABS, MOD, NINT, COS, EXP are supported and produce true multiprecision values.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
BAILEY, D.H. The computation of ~ to 29,360,000 decimal digits using Borwems' quartically convergent algorithm. Math. Comput. 50 (Jan. 1988), 283 296.
 
2
BAILEY, D. H. A high performance FFT algorithm for vector supercomputers. Int. J. Supercomput. Appl. 2 (Spring 1988), 82-87.
 
3
BAILEY, D. H. Numerical results on the transcendence of constants involving ~r, e, and Euler's constant. Math. Comput. 50 (Jan. 1988), 275-281.
 
4
BAILEY, D.H. A portable high performance multiprecision package. Tech. Rep. RNR-90-022, NASA Ames Research Center, 1990.
 
5
BAILEY, D. IX., AND FERGUSON, H. R.P. Numerical results on relations between numerical constants using a new algorithm. Math. Comput. 53 (Oct. 1989), 649-656.
 
6
BECKMANN, P. A History ofPi. Golem Press, Boulder, Colo., 1977
 
7
BORWEIN, J. M., AND BORWEIN, P.B. The arithmetic-geometric mean and fast computation of elementary functions. SIAM Rev. 26 (1984), 351-365.
 
8
BORWEIN, J. M., AND BORWEIN, P.B. Pi and the AGM. Wiley, New York, 1987.
 
9
10
11
 
12
BRENT, R. P. Multiple-precision zero-finding methods and the complexity of elementary function evaluation. In Analytic Computational Complexity, Academic Press, New York, 1976, 151-176.
 
13
BRIGGS, K. A precise calculation of the Feigenbaum constants. Math. Comput. 57 (1991), 435-439.
 
14
BUELL, D., AND WARD, R. A multiprecise integer arithmetic package. J. Supercomput. 3 (1989), 89-107.
 
15
CHUDNOVSKY, D. V., AND CHUDNOVSKY, G.V. Computation and arithmetic nature of classical constants IBM Res. Rep. IBM T. J. Watson Research Center, RC14950 (66818), 1989.
 
16
CHUDNOVSKY, D. V., AND CHUDNOVSKY, G.V. Personal communication, 1991.
 
17
 
18
 
19
FEINGENBAUM, M. J. Quantitative universality for a class of nonlinear transformations. J. Stat. Phys. 19 (1978), 25-52.
 
20
FERGUSON, H. R. P., AND BArnEY, D. H. A polynomial time, numerically stable integer relation algorithm. Tech. Rep. RNR-91-032, NAS Applied Research Branch, NASA Ames Research Center, Moffett Field, Calif., Mar. 1992.
 
21
 
22
KANADA, Y. Personal communication, 1989.
 
23
 
24
25
 
26
ODLYZKO, A. M., AND TE RIELE, H. J.J. Disproof of the Mertens conjecture. J. Reine Angew. Math. 357 (1985), 138 160.
27
 
28
SALAMIN, E. Computation of ~ using arithmetic-geometric mean. Math. Comput. 30 (1976), 565-570.
 
29
SLOWINSKI, n. Personal communication, 1991.
30
 
31
 
32

CITED BY  15