]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorAndreas Jaeger <aj@suse.de>
Fri, 22 Jun 2001 15:03:32 +0000 (15:03 +0000)
committerAndreas Jaeger <aj@suse.de>
Fri, 22 Jun 2001 15:03:32 +0000 (15:03 +0000)
* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
to avoid warnings.

* sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
variable.
Add unused attributes to avoid warnings.

ChangeLog
sysdeps/i386/fpu/e_expl.c
sysdeps/i386/fpu/s_nextafterl.c

index 76971e6384ef4a51c7137dfad6f8be3ee50d3807..5838cb51f628cdea5b32004f79bca65620e075e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2001-06-22  Andreas Jaeger  <aj@suse.de>
 
+       * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
+       to avoid warnings.
+
+       * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
+       variable.
+       Add unused attributes to avoid warnings.
+
        * elf/reldep4mod4.c: Add prototype to avoid warning.
        * elf/reldep4mod2.c: Likewise.
 
index 3802342bcf4518a5727f53c324e5c5d479bc4992..37d8d10e2cb0d62cc8459ca382276c49bb1208a0 100644 (file)
 
 #include <math_private.h>
 
-static long double c0 = 1.44268798828125L;
-static long double c1 = 7.05260771340735992468e-6L;
+static long double __attribute__ ((unused)) c0 = 1.44268798828125L;
+static long double __attribute__ ((unused)) c1 = 7.05260771340735992468e-6L;
 
 long double
 __ieee754_expl (long double x)
 {
-  long double res, t;
+  long double res;
 
 /* I added the following ugly construct because expl(+-Inf) resulted
    in NaN.  The ugliness results from the bright minds at Intel.
index a6ead792210e63c00e12a7c7eb6c2018eceae2a3..eaf3b0b83aea2fe795c40fc935a0c47de2423854 100644 (file)
@@ -47,8 +47,8 @@ static char rcsid[] = "$NetBSD: $";
 
        /* Intel's extended format has the normally implicit 1 explicit
           present.  Sigh!  */
-       if(((ix==0x7fff)&&((hx&0x7fffffff|lx)!=0)) ||   /* x is nan */
-          ((iy==0x7fff)&&((hy&0x7fffffff|ly)!=0)))     /* y is nan */
+       if(((ix==0x7fff)&&(((hx&0x7fffffff)|lx)!=0)) ||   /* x is nan */
+          ((iy==0x7fff)&&(((hy&0x7fffffff)|ly)!=0)))     /* y is nan */
           return x+y;
        if(x==y) return y;              /* x=y, return y */
        if((ix|hx|lx)==0) {                     /* x == 0 */