glibc/sysdeps/ieee754/float128/s_isnanf128.c
H.J. Lu 43d41ae6d7 Don't provide XXXf128_do_not_use aliases [BZ #31757]
Don't provide __nexttowardf128_do_not_use, nexttowardf128_do_not_use,
finitef128_do_not_use, isinff128_do_not_use and isnanf128_do_not_use.
This fixes BZ #31757.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2024-05-22 06:12:17 -07:00

28 lines
744 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>
#ifdef SHARED
hidden_ver (__isnanf128_impl, __isnanf128)
#else
strong_alias (__isnanf128_impl, __isnanf128)
#endif
#ifndef isnanl
_weak_alias (__isnanf128_impl, isnanl)
#endif
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