This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Is sysdeps/ieee754/dbl-64/e_remainder.c broken?
- From: Ulrich Drepper <drepper at redhat dot com>
- To: moshier at moshier dot ne dot mediaone dot net
- Cc: "H . J . Lu" <hjl at lucon dot org>, libc-alpha at sourceware dot cygnus dot com
- Date: 26 Nov 2001 20:03:04 -0800
- Subject: Re: Is sysdeps/ieee754/dbl-64/e_remainder.c broken?
- References: <Pine.LNX.4.20.0111242113280.13575-100000@moshier.ne.mediaone.net>
- Reply-to: drepper at redhat dot com (Ulrich Drepper)
Stephen L Moshier <moshier@mediaone.net> writes:
> Yes, it is broken on i386.
The "fix" is simple: don't use the code on x86. The code was written
using accurate rounding based on the precision and not the extra-long
internal format. Uglifying and slowing down of generally used code
for a platform which isn't even using the code is not acceptable.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------