[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

g77 compiler option for forcing constants to be real*8



Hi,

Does anybody on this list happen to know the compiler option for g77 to compile all constants as real*8?

E.g. in a statement like

c = 1./a

the 1. should be read as if it had been typed as 1.0d0. Sun's and HP's compilers usually have compiler flags for that.

regards
Michael

---------------------------------------------------------------------
Michael Olberg                           <michael.olberg@chalmers.se>
Onsala Space Observatory                       tel: +46-(0)31-7725507
Chalmers University of Technology              fax: +46-(0)31-7725590
S-43992 Onsala, SWEDEN                      mobile: +46-(0)703-319556
----------------- This quote left blank intentionally ---------------



Reply to: