This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: KINDs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]