[Bug libfortran/48878] Default I/O rounding on output should be round to nearest

jb at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 15 15:21:00 GMT 2012


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

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Janne Blomqvist <jb at gcc dot gnu.org> 2012-03-15 15:19:27 UTC ---
As of r185433 we let snprintf() do the rounding, unless a non-default rounding
mode is explicitly requested. At least on glibc, snprintf does roundTiesToEven.



More information about the Gcc-bugs mailing list