This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug libfortran/12839] [gfortran] incorrect IO of Inf
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 15 Feb 2004 13:06:47 +0100
- Subject: Re: [Bug libfortran/12839] [gfortran] incorrect IO of Inf
- Organization: Moene Computational Physics, Maartensdijk, NL
- References: <20031030122711.12839.jv244@cam.ac.uk> <20040212000301.27566.qmail@sources.redhat.com>
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)