summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-21 23:42:32 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-21 23:42:32 +0000
commit912f97da3d96796a2e2ffe2cd91b4d5a2a2472e1 (patch)
tree2ea342d12c7621b263b09d380e7fac378c6fd547 /sysdeps
parent4260c4120a20755359c25125c2bb3d9cf759ea92 (diff)
downloadglibc-912f97da3d96796a2e2ffe2cd91b4d5a2a2472e1.tar.gz
Update.
2000-12-21 H.J. Lu <hjl@gnu.org> * 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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/fpu/s_nextafterl.c4
-rw-r--r--sysdeps/ia64/fpu/math_ldbl.h4
2 files changed, 2 insertions, 6 deletions
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;