[Bug fortran/54514] g0 output format has too few digits when writing reals
clivegpage at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Sep 7 22:42:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54514
Clive Page <clivegpage at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #2 from Clive Page <clivegpage at gmail dot com> 2012-09-07 22:42:00 UTC ---
Thanks, Tobias. Now I've read the manual more carefully, I think you are
right, and the G0.d does not mean d decimal places, but (d-1). I have no idea
whether this was the intention of those who drafted this bit of the standard,
as it seems odd, but that's the way it is.
I'm sorry to have troubled you, I'll see if I can close this as a bug. I
didn't have access to another compiler that supported g0 formats (and I did try
two others).
Regards
More information about the Gcc-bugs
mailing list