diff options
Diffstat (limited to 'sysdeps/ieee754/ldbl-96/s_erfl.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-96/s_erfl.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/ieee754/ldbl-96/s_erfl.c b/sysdeps/ieee754/ldbl-96/s_erfl.c index d00adb1000..1e42df70a7 100644 --- a/sysdeps/ieee754/ldbl-96/s_erfl.c +++ b/sysdeps/ieee754/ldbl-96/s_erfl.c @@ -108,6 +108,8 @@ #include <float.h> #include <math.h> #include <math_private.h> +#include <math-underflow.h> +#include <libm-alias-ldouble.h> static const long double tiny = 1e-4931L, @@ -254,7 +256,7 @@ __erfl (long double x) { long double R, S, P, Q, s, y, z, r; int32_t ix, i; - u_int32_t se, i0, i1; + uint32_t se, i0, i1; GET_LDOUBLE_WORDS (se, i0, i1, x); ix = se & 0x7fff; @@ -335,13 +337,13 @@ __erfl (long double x) return r / x - one; } -weak_alias (__erfl, erfl) +libm_alias_ldouble (__erf, erf) long double __erfcl (long double x) { int32_t hx, ix; long double R, S, P, Q, s, y, z, r; - u_int32_t se, i0, i1; + uint32_t se, i0, i1; GET_LDOUBLE_WORDS (se, i0, i1, x); ix = se & 0x7fff; @@ -448,4 +450,4 @@ __erfcl (long double x) } } -weak_alias (__erfcl, erfcl) +libm_alias_ldouble (__erfc, erfc) |