This article compares both real and complex outputs from sizeable numeric computations using identical code on several computer systems. The digital signal processing technique known as the modified covariance method was used as the computational engine. It is a recursive algorithm for solving the covariance equations of a linear predictor that seeks to predict an input signal by a linear combination of past signal samples. Single precision and double precision results are presented but the study focuses primarily on differences between the VAX Fortran 4.8 and MacFortran/020 compilers. Differences in the first digit for single precision arithmetic were found and double precision differences occurred in the eighth digit. Arithmetic with complex data types was found to be less precise than with real data types. Although differences exist among various computer systems, they all show the same order of magnitude accuracy with respect to CRAY‐YMP results. The algorithm used here required a double precision implementation to obtain agreement between different computer systems.
Skip Nav Destination
Article navigation
Research Article|
September 01 1992
Numeric precision in FORTRAN computing
Roger W. Meredith
Roger W. Meredith
NAVAL Research Laboratory‐Stennis Space Center Detachment, Arctic Acoustics Branch, Code 242, Stennis Space Center, Mississippi 39529
Search for other works by this author on:
Comput. Phys. 6, 506–512 (1992)
Article history
Received:
October 23 1990
Accepted:
April 13 1992
Citation
Roger W. Meredith; Numeric precision in FORTRAN computing. Comput. Phys. 1 September 1992; 6 (5): 506–512. https://doi.org/10.1063/1.168438
Download citation file:
372
Views
Citing articles via
Related Content
The object‐oriented programming paradigm (OOPP) and FORTRAN programs
Comput. Phys. (July 1990)
How to use MACSYMA to write long FORTRAN codes for noncompact simulations of gauge theories
Comput. Phys. (March 1990)
A derived‐data type for data analysis
Comput. Phys. (November 1991)
Space‐time geometries characterized by solutions to the geodesic equations
Comput. Phys. (September 1992)
Global sensitivity analysis of a nonlinear system using animated basins of attraction
Comput. Phys. (November 1992)