From 912f97da3d96796a2e2ffe2cd91b4d5a2a2472e1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 21 Dec 2000 23:42:32 +0000 Subject: Update. 2000-12-21 H.J. Lu * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type): Make sign_exponent element signed. * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type): Fix a typo. * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch. --- sysdeps/i386/fpu/s_nextafterl.c | 4 ---- sysdeps/ia64/fpu/math_ldbl.h | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/i386/fpu/s_nextafterl.c b/sysdeps/i386/fpu/s_nextafterl.c index b99914700c..82a0190ca6 100644 --- a/sysdeps/i386/fpu/s_nextafterl.c +++ b/sysdeps/i386/fpu/s_nextafterl.c @@ -88,14 +88,10 @@ static char rcsid[] = "$NetBSD: $"; /* x < y, x -= ulp */ if(lx==0) { if (hx <= 0x80000000) { - if (esx == 0) - hx = 0; - else { esx -= 1; hx = hx - 1; if ((esx&0x7fff) > 0) hx |= 0x80000000; - } } else hx -= 1; } diff --git a/sysdeps/ia64/fpu/math_ldbl.h b/sysdeps/ia64/fpu/math_ldbl.h index e329b70cf7..475ca795fa 100644 --- a/sysdeps/ia64/fpu/math_ldbl.h +++ b/sysdeps/ia64/fpu/math_ldbl.h @@ -13,7 +13,7 @@ typedef union struct { unsigned int empty0:32; - unsigned int sign_exponent:16; + int sign_exponent:16; unsigned int empty1:16; u_int32_t msw; u_int32_t lsw; @@ -31,7 +31,7 @@ typedef union { u_int32_t lsw; u_int32_t msw; - unsigned int sign_exponent:16; + int sign_exponent:16; unsigned int empty1:16; unsigned int empty0:32; } parts; -- cgit v1.2.1