This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]