KINDs
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri May 28 02:19:00 GMT 2004
On Thu, May 27, 2004 at 07:01:54PM -0700, Greg Lindahl wrote:
> I saw a test case for gfortran which uses byte-sized KINDs instead of
> the g77 weirdo-KINDs. Is gfortran switching to byte-sizes?
>
Yes.
REAL(4) is single precision and REAL(8) is double precision.
Note, gfortran is going to be backwards compatible with g77,
so the REAL(1) and REAL(2) enumerated kinds will need to be
supported at some point. I don't know if this will be done
as a compiler option. I doubt gfortran will support 8 and
16 bit REALs, so mapping REAL(1) to REAL(4) and REAL(2) to
REAL(8) should be straight forward (famous last words :).
--
Steve
More information about the Fortran
mailing list