diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-11-12 02:20:29 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-11-12 02:20:29 -0500 |
commit | 8ad89ef88d66f13e139c7dbd16b78729ec1af41c (patch) | |
tree | 2c510190aab9055915dfaaddd7d4b9a693ed4263 | |
parent | 0c822ef9883c8c28929734eceb104729ba9e62e0 (diff) | |
download | glibc-8ad89ef88d66f13e139c7dbd16b78729ec1af41c.tar.gz glibc-8ad89ef88d66f13e139c7dbd16b78729ec1af41c.tar.xz glibc-8ad89ef88d66f13e139c7dbd16b78729ec1af41c.zip |
Avoid warnings about unused variable in 96-bit j0l and j1l
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-96/e_j0l.c | 4 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-96/e_j1l.c | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index ceea48e96d..c50ab96c56 100644 --- 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. diff --git a/sysdeps/ieee754/ldbl-96/e_j0l.c b/sysdeps/ieee754/ldbl-96/e_j0l.c index abf4f109f8..325408d5df 100644 --- a/sysdeps/ieee754/ldbl-96/e_j0l.c +++ b/sysdeps/ieee754/ldbl-96/e_j0l.c @@ -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); diff --git a/sysdeps/ieee754/ldbl-96/e_j1l.c b/sysdeps/ieee754/ldbl-96/e_j1l.c index 369fd830fe..d7fcc9b449 100644 --- a/sysdeps/ieee754/ldbl-96/e_j1l.c +++ b/sysdeps/ieee754/ldbl-96/e_j1l.c @@ -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; |