This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1498] New: Wrong result for some integer divisions on Alpha
- From: "falk at debian dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 Oct 2005 20:46:33 -0000
- Subject: [Bug libc/1498] New: Wrong result for some integer divisions on Alpha
- Reply-to: sourceware-bugzilla at sourceware dot org
When x has bit 63 set, then the unsigned integer division x/x will give 0
instead of 1. This is due to a typo in __divqu. The same problem exists in
__remqu. This breaks gmp (see http://bugs.debian.org/324455). The attached
patch fixes it. This patch has been in use in Debian's glibc for a while.
--
Summary: Wrong result for some integer divisions on Alpha
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: falk at debian dot org
CC: glibc-bugs at sources dot redhat dot com
GCC target triplet: alpha-*-*
http://sourceware.org/bugzilla/show_bug.cgi?id=1498
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.