This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/4997] lround(nexafter(0.5,-1)) has incorrect value
- From: "rsa at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 20 Nov 2007 21:46:38 -0000
- Subject: [Bug math/4997] lround(nexafter(0.5,-1)) has incorrect value
- References: <20070906173748.4997.fxcoudert@gcc.gnu.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From rsa at us dot ibm dot com 2007-11-20 21:46 -------
Created an attachment (id=2099)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2099&action=view)
Patch to fix the erroneous lround results
This patch will fix the erroneous results in lround, lroundf, llround, and
llroundf. It also adds some test cases to the libm-test.inc framework to
verify that they're fixed.
I want to hold back on checking this in until I get a chance to build and 'make
check' across several different systems to verify that I caught all the cases.
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2072 is|0 |1
obsolete| |
http://sourceware.org/bugzilla/show_bug.cgi?id=4997
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.