[Bug libfortran/12839] [gfortran] incorrect IO of Inf

bdavis9659 at comcast dot net gcc-bugzilla@gcc.gnu.org
Thu Feb 12 00:03:00 GMT 2004


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

regards,
bud davis

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12839



More information about the Gcc-bugs mailing list