This is the mail archive of the gcc-bugs@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: [Bug libfortran/12839] [gfortran] incorrect IO of Inf


bdavis9659 at comcast dot net wrote:
------- Additional Comments From bdavis9659 at comcast dot net  2004-02-12 00:02 -------
Is this mandated by the F90 standard or just "convention" ?

looking at gcc/libgfortran/io/write.c;

the field is all "+" for pos infinity, all "-" for neg infinity, and "Nan" for
the other case.


So, it was a very explicit decision when this code was written.

If it is not required by the standard, perhaps this is not a bug and just needs
to be explained in the info page.

No, it needs to be changed in light of the changes we made to the Fortran 2003 draft last summer.


It's better if we follow this from the start.

Cheers,

--
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]