]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Avoid warnings about unused variable in 96-bit j0l and j1l
authorUlrich Drepper <drepper@gmail.com>
Sat, 12 Nov 2011 07:20:29 +0000 (02:20 -0500)
committerUlrich Drepper <drepper@gmail.com>
Sat, 12 Nov 2011 07:20:29 +0000 (02:20 -0500)
ChangeLog
sysdeps/ieee754/ldbl-96/e_j0l.c
sysdeps/ieee754/ldbl-96/e_j1l.c

index ceea48e96d28168a19e3ae4b6271bb0c8e211009..c50ab96c56bb810587443c4931146ef4739f50a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
 
+       * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
+       mantissa words.
+       * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
+
        * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
        from unused variable.
 
index abf4f109f821f747b36dda9cc2259b7a6e8db2d1..325408d5df6e2d9731dbb787d6f0b8e2078e5011 100644 (file)
@@ -108,9 +108,9 @@ __ieee754_j0l (long double x)
 {
   long double z, s, c, ss, cc, r, u, v;
   int32_t ix;
-  u_int32_t se, i0, i1;
+  u_int32_t se;
 
-  GET_LDOUBLE_WORDS (se, i0, i1, x);
+  GET_LDOUBLE_EXP (se, x);
   ix = se & 0x7fff;
   if (__builtin_expect (ix >= 0x7fff, 0))
     return one / (x * x);
index 369fd830fe5445c49c551f70d003d2a57dee8c97..d7fcc9b44991dc6965f0836c0ea851138c2f181b 100644 (file)
@@ -110,9 +110,9 @@ __ieee754_j1l (long double x)
 {
   long double z, c, r, s, ss, cc, u, v, y;
   int32_t ix;
-  u_int32_t se, i0, i1;
+  u_int32_t se;
 
-  GET_LDOUBLE_WORDS (se, i0, i1, x);
+  GET_LDOUBLE_EXP (se, x);
   ix = se & 0x7fff;
   if (__builtin_expect (ix >= 0x7fff, 0))
     return one / x;