[Bug stdio/5044] printf doesn't take the rounding mode into account

jsm28 at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Sep 14 20:25:00 GMT 2012


http://sourceware.org/bugzilla/show_bug.cgi?id=5044

--- Comment #13 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-09-14 20:24:24 UTC ---
The case of decimal output (%e/%E/%f/%F/%g/%G) is fixed for 2.17 by:

commit 784761bee3828e4e21cbe15340c7a99e3fd1788b
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Sep 14 20:18:49 2012 +0000

    Make printf respect the rounding mode for decimal output (bug 5044).

That is, decimal output should now be correctly rounding for all rounding
modes, where previously it was for round-to-nearest only.

Hex output (%a/%A) has the same issue and still needs to be fixed.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list