From a439bb2fa34284eed666b8e3733d46c72dadc62f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 15 Feb 2003 05:25:17 +0000 Subject: 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 . --- sysdeps/i386/fpu/s_nextafterl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sysdeps/i386') diff --git a/sysdeps/i386/fpu/s_nextafterl.c b/sysdeps/i386/fpu/s_nextafterl.c index eaf3b0b..5b617cb 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) -- cgit v1.1