Fortran 64 bit.

Halvorson,Peter J ne201ph at prism.gatech.edu
Sat May 26 05:58:36 AEST 1990


Has anyone had to port a Fortran program from a mainframe to a
SPARCstation?

The mainframe defaults to 64 bit numbers.  On the SPARC the same
statements and declarations produce 32 bit numbers.  For our current
program the extra precision of 64 bit real numbers is crucial.  Is there a
better way than going through the program line by line changing real to
real*8, and changing constants to constantd0 ( i.e. 1./3. to 1./3.d0)?
Constants are the bigger problem.

Peter Halvorson   --  Nuclear Engineering Program
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:     ...!{allegra,amd,hplabs,ut-ngp}!gatech!prism!ne201ph
Internet: ne201ph at prism.gatech.edu



More information about the Comp.sys.sun mailing list