summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
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;