diff options
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/s_finitel.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-128/s_finitel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/ieee754/ldbl-128/s_finitel.c b/sysdeps/ieee754/ldbl-128/s_finitel.c index ea8a9ba379..d42b37815c 100644 --- a/sysdeps/ieee754/ldbl-128/s_finitel.c +++ b/sysdeps/ieee754/ldbl-128/s_finitel.c @@ -25,12 +25,12 @@ static char rcsid[] = "$NetBSD: $"; #include <math.h> #include <math_private.h> -int __finitel(long double x) +int __finitel(_Float128 x) { int64_t hx; GET_LDOUBLE_MSW64(hx,x); - return (int)((u_int64_t)((hx&0x7fff000000000000LL) - -0x7fff000000000000LL)>>63); + return (int)((uint64_t)((hx&0x7fff000000000000LL) + -0x7fff000000000000LL)>>63); } -hidden_def (__finitel) +mathx_hidden_def (__finitel) weak_alias (__finitel, finitel) |