summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-128/s_fabsl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/s_fabsl.c')
-rw-r--r--sysdeps/ieee754/ldbl-128/s_fabsl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/ieee754/ldbl-128/s_fabsl.c b/sysdeps/ieee754/ldbl-128/s_fabsl.c
index a1bb6c5dff..8d554531be 100644
--- a/sysdeps/ieee754/ldbl-128/s_fabsl.c
+++ b/sysdeps/ieee754/ldbl-128/s_fabsl.c
@@ -23,12 +23,13 @@ static char rcsid[] = "$NetBSD: $";
#include <math.h>
#include <math_private.h>
+#include <libm-alias-ldouble.h>
-long double __fabsl(long double x)
+_Float128 __fabsl(_Float128 x)
{
- u_int64_t hx;
+ uint64_t hx;
GET_LDOUBLE_MSW64(hx,x);
SET_LDOUBLE_MSW64(x,hx&0x7fffffffffffffffLL);
return x;
}
-weak_alias (__fabsl, fabsl)
+libm_alias_ldouble (__fabs, fabs)