This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Does/will gcc support REAL(16) in Fortran?


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)


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