mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
de61465c04
This patch uses libm_alias_float128 in place of weak_alias more in sysdeps/ieee754/float128, in preparation for defining _Float64x aliases when appropriate. Tested for x86_64, and for powerpc64le (compilation only) with build-many-glibcs.py in conjunction with _Float64x support patches. * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define using libm_alias_float128. * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128): Likewise. * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128): Likewise. * sysdeps/ieee754/float128/s_setpayloadsigf128.c (setpayloadsigf128): Likewise. * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128): Likewise. * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128): Likewise.
6 lines
165 B
C
6 lines
165 B
C
#include <float128_private.h>
|
|
#define SIG 0
|
|
#define FUNC __setpayloadf128
|
|
#include "../ldbl-128/s_setpayloadl_main.c"
|
|
libm_alias_float128 (__setpayload, setpayload)
|