This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/5044] printf doesn't take the rounding mode into account
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Fri, 14 Sep 2012 20:24:24 +0000
- Subject: [Bug stdio/5044] printf doesn't take the rounding mode into account
- Auto-submitted: auto-generated
- References: <bug-5044-131@http.sourceware.org/bugzilla/>
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.