[fortran] patch for PR 12839 - incorrect IO of inf
Paul Brook
paul@codesourcery.com
Wed Mar 24 10:39:00 GMT 2004
On Sunday 29 February 2004 16:36, Bud Davis wrote:
> Below is a patch for your consideration that implements the output of
> +inf/-inf/nan as per the draft Fortran 2003 standard. At least it is my
> attempt to implement it properly :)
It seems strange that the 8-character representation if neg_inf is "Infinity"
not " -Inf". Are you sure this is correct?
I can't find the relevant section in my draft of the f2003 standard (Sept
2002), maybe it's out of date.
Paul
More information about the Fortran
mailing list