This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5044] printf doesn't take the rounding mode into account
- From: "eberlein at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 17 Apr 2008 20:33:16 -0000
- Subject: [Bug libc/5044] printf doesn't take the rounding mode into account
- References: <20070919134419.5044.vincent+libc@vinc17.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From eberlein at us dot ibm dot com 2008-04-17 20:33 -------
I've attached a patch based on Ryan's suggestion to use _FPU_GETCW. It fixes
the example given in the description. It may have some problems with the
existing ties-to-even code. I've only tested it on POWER. Please check that
the patch works on other architectures, and I'll work on the ties-to-even bit.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5044
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.