aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-15 05:25:17 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-15 05:25:17 +0000
commita439bb2fa34284eed666b8e3733d46c72dadc62f (patch)
tree05d82aa214bba042a960e01d648236f61c50fb98 /sysdeps/i386
parent7c6d00e62369b27b3493d0f89da47e22568fcac9 (diff)
downloadglibc-a439bb2fa34284eed666b8e3733d46c72dadc62f.tar
glibc-a439bb2fa34284eed666b8e3733d46c72dadc62f.tar.gz
glibc-a439bb2fa34284eed666b8e3733d46c72dadc62f.tar.bz2
glibc-a439bb2fa34284eed666b8e3733d46c72dadc62f.zip
Update.
* sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa of demorm correctly if low word is zero. Reported by Fred J. Tydeman <tydeman@tybor.com>.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/fpu/s_nextafterl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/fpu/s_nextafterl.c b/sysdeps/i386/fpu/s_nextafterl.c
index eaf3b0b83a..5b617cb4e7 100644
--- a/sysdeps/i386/fpu/s_nextafterl.c
+++ b/sysdeps/i386/fpu/s_nextafterl.c
@@ -61,9 +61,9 @@ static char rcsid[] = "$NetBSD: $";
/* x > y, x -= ulp */
if(lx==0) {
if (hx <= 0x80000000) {
- if (esx == 0)
- hx = 0;
- else {
+ if (esx == 0) {
+ --hx;
+ } else {
esx -= 1;
hx = hx - 1;
if (esx > 0)