glibc/sysdeps/ieee754/float128/s_isnanf128.c
Siddhesh Poyarekar abadbef5c8 Move __isnanf128 to libc.so
All of the isnan functions are in libc.so due to printf_fp, so move
__isnanf128 there too for consistency.

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@ascii.art.br>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
2021-03-30 14:58:19 +05:30

22 lines
650 B
C

#include <shlib-compat.h>
#include <float128_private.h>
#if !IS_IN (libm)
#undef __isnanl
#define __isnanl __isnanf128_impl
#undef weak_alias
#define weak_alias(n,a)
#undef mathx_hidden_def
#define mathx_hidden_def(x)
#endif
#include "../ldbl-128/s_isnanl.c"
#if !IS_IN (libm)
#include <float128-abi.h>
hidden_ver (__isnanf128_impl, __isnanf128)
_weak_alias (__isnanf128_impl, isnanl)
versioned_symbol (libc, __isnanf128_impl, __isnanf128, GLIBC_2_34);
#if (SHLIB_COMPAT (libc, FLOAT128_VERSION_M, GLIBC_2_34))
strong_alias (__isnanf128_impl, __isnanf128_alias)
compat_symbol (libc, __isnanf128_alias, __isnanf128, FLOAT128_VERSION_M);
#endif
#endif