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

--- Comment #36 from Thomas Henlich <thenlich at users dot sourceforge.net> 
2011-06-10 17:01:34 UTC ---
(In reply to comment #34)
> Additional note:  The standard states:
> 
> "Let N be the magnitude of the internal value"
> 
> The internal value is to be used to determine the conversion to F formatting. 
> I
> think this adds to my point.
> 
> I wonder if the standards committee knew the thresholds selected do not have 
> an
> exact binary representation so that the internal values will always be above 
> or
> below it.

Not always (e.g. 99.5 is the exact internal value), but it many cases, yes.

This and other problems with G editing will be fixed in the standard soon, if
all goes well.

I helped to prepare a request for this, which has now been submitted:

http://j3-fortran.org/doc/year/2011/11-174.txt

Reply via email to