Use libm_alias_double for some dbl-64 functions.
[glibc.git] / sysdeps / ieee754 / ldbl-opt / w_exp10l_compat.c
blobdd5915e66e2587b9faf1cceb73fe3939796befd8
1 #include <math_ldbl_opt.h>
2 #undef weak_alias
3 #define weak_alias(n,a)
4 #undef compat_symbol
5 #define compat_symbol(l,n,a,v)
6 #include <math/w_exp10l_compat.c>
7 #if LIBM_SVID_COMPAT
8 # if !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)
9 /* If ldbl-opt is used without special versioning for exp10l being
10 required, the generic code does not define exp10l because of the
11 undefine and redefine of weak_alias above. */
12 # undef weak_alias
13 # define weak_alias(name, aliasname) _weak_alias (name, aliasname)
14 weak_alias (__exp10l, exp10l)
15 # endif
16 # if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)
17 /* compat_symbol was undefined and redefined above to avoid the
18 default pow10l compat symbol at version GLIBC_2_1 (as for ldbl-opt
19 configurations, that version should have the alias to exp10). So
20 it now needs to be redefined to define the compat symbol at version
21 LONG_DOUBLE_COMPAT_VERSION. */
22 # undef compat_symbol
23 # define compat_symbol(lib, local, symbol, version) \
24 compat_symbol_reference (lib, local, symbol, version)
25 compat_symbol (libm, __pow10l, pow10l, LONG_DOUBLE_COMPAT_VERSION);
26 # endif
27 #endif