Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!mit-eddie!uw-beaver!rice!sun-spots-request From: ne201ph@prism.gatech.edu (Halvorson,Peter J) Newsgroups: comp.sys.sun Subject: Fortran 64 bit. Keywords: Software Message-ID: <8197@brazos.Rice.edu> Date: 25 May 90 19:58:36 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 181, message 20 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@prism.gatech.edu