This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/48878] Default I/O rounding on output should be round to nearest
- From: "jb at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Mar 2012 15:19:27 +0000
- Subject: [Bug libfortran/48878] Default I/O rounding on output should be round to nearest
- Auto-submitted: auto-generated
- References: <bug-48878-4@http.gcc.gnu.org/bugzilla/>
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.