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-128/s_copysignl.c | |
parent | 04ac1241a4cd004872282c2c82ec37fa33925292 (diff) | |
parent | 82dd75a7f436a19047325d62182590c9f9e23a78 (diff) |
Merge branch 't/tls' into refs/top-bases/t/tls-threadvar
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/s_copysignl.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-128/s_copysignl.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/ieee754/ldbl-128/s_copysignl.c b/sysdeps/ieee754/ldbl-128/s_copysignl.c index 19b6880940..d23e0f72ea 100644 --- a/sysdeps/ieee754/ldbl-128/s_copysignl.c +++ b/sysdeps/ieee754/ldbl-128/s_copysignl.c @@ -25,14 +25,15 @@ static char rcsid[] = "$NetBSD: $"; #include <math.h> #include <math_private.h> +#include <libm-alias-ldouble.h> -long double __copysignl(long double x, long double y) +_Float128 __copysignl(_Float128 x, _Float128 y) { - u_int64_t hx,hy; + uint64_t hx,hy; GET_LDOUBLE_MSW64(hx,x); GET_LDOUBLE_MSW64(hy,y); SET_LDOUBLE_MSW64(x,(hx&0x7fffffffffffffffULL) |(hy&0x8000000000000000ULL)); return x; } -weak_alias (__copysignl, copysignl) +libm_alias_ldouble (__copysign, copysign) |