diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 19:01:57 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 19:01:57 +0000 |
commit | cab56836b146bc129f1ad43f0393d95a9deca63a (patch) | |
tree | 4f4e655319bbac78fca170da05275c127429b460 /sysdeps/ieee754/ldbl-96/e_asinl.c | |
parent | 04ac1241a4cd004872282c2c82ec37fa33925292 (diff) | |
parent | 82dd75a7f436a19047325d62182590c9f9e23a78 (diff) |
Merge branch 't/tls' into refs/top-bases/t/tls-threadvar
Diffstat (limited to 'sysdeps/ieee754/ldbl-96/e_asinl.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-96/e_asinl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/ieee754/ldbl-96/e_asinl.c b/sysdeps/ieee754/ldbl-96/e_asinl.c index f52b931459..806906a58a 100644 --- a/sysdeps/ieee754/ldbl-96/e_asinl.c +++ b/sysdeps/ieee754/ldbl-96/e_asinl.c @@ -61,6 +61,7 @@ #include <float.h> #include <math.h> #include <math_private.h> +#include <math-underflow.h> static const long double one = 1.0L, @@ -96,7 +97,7 @@ __ieee754_asinl (long double x) { long double t, w, p, q, c, r, s; int32_t ix; - u_int32_t se, i0, i1, k; + uint32_t se, i0, i1, k; GET_LDOUBLE_WORDS (se, i0, i1, x); ix = se & 0x7fff; @@ -132,7 +133,7 @@ __ieee754_asinl (long double x) t = w * 0.5; p = t * (pS0 + t * (pS1 + t * (pS2 + t * (pS3 + t * (pS4 + t * pS5))))); q = qS0 + t * (qS1 + t * (qS2 + t * (qS3 + t * (qS4 + t)))); - s = __ieee754_sqrtl (t); + s = sqrtl (t); if (ix >= 0x3ffef999) { /* if |x| > 0.975 */ w = p / q; |