This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does/will gcc support REAL(16) in Fortran?
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 09 Jan 2004 21:18:06 +0100
- Subject: Re: Does/will gcc support REAL(16) in Fortran?
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <20040109000322.GA28363@lucon.org>
H. J. Lu wrote:
Is REAL(16) supported in Fortran?
The language leaves this unspecified. If you mean: is it supported in
gfortran: not yet.
I was told that most of Fortran
compilers use IEEE 128bit quad precision for REAL(16), even on IA32
and IA64 where 128bit quad precision is not supported by hardware.
I was wondering if/when gcc would support REAL(16) on IA32/IA64 and
what format would be used.
We could do that too, depending on the amount of (low-level) software
support for 128 bit IEEE floating point numbers. The hard part will be
to write the formatted I/O routines for them.
Hope this helps,
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc.gnu.org/fortran/ (under construction)