diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-13 12:14:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-13 12:14:18 +0000 |
commit | 3bb266e0101d17db7812daef1a7fe0aaa97b7e47 (patch) | |
tree | 4eb14893ab77764615fc595322ae4fd3dba8c039 /sysdeps/libm-ieee754/s_expm1.c | |
parent | 70b0abbaa2c30fb181d254f00b37cde027140878 (diff) | |
download | glibc-3bb266e0101d17db7812daef1a7fe0aaa97b7e47.tar.gz glibc-3bb266e0101d17db7812daef1a7fe0aaa97b7e47.tar.xz glibc-3bb266e0101d17db7812daef1a7fe0aaa97b7e47.zip |
Update.
* sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning. * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses warning. * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise. * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise. * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise. * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise. * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise. 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
Diffstat (limited to 'sysdeps/libm-ieee754/s_expm1.c')
-rw-r--r-- | sysdeps/libm-ieee754/s_expm1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/libm-ieee754/s_expm1.c b/sysdeps/libm-ieee754/s_expm1.c index df6b1e4df0..bfd15b2e31 100644 --- a/sysdeps/libm-ieee754/s_expm1.c +++ b/sysdeps/libm-ieee754/s_expm1.c @@ -207,9 +207,10 @@ Q[] = {1.0, -3.33333333333331316428e-02, /* BFA11111 111110F4 */ e = (x*(e-c)-c); e -= hxs; if(k== -1) return 0.5*(x-e)-0.5; - if(k==1) + if(k==1) { if(x < -0.25) return -2.0*(e-(x+0.5)); else return one+2.0*(x-e); + } if (k <= -2 || k>56) { /* suffice to return exp(x)-1 */ u_int32_t high; y = one-(e-x); |