diff options
Diffstat (limited to 'math/w_scalb_template.c')
-rw-r--r-- | math/w_scalb_template.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/math/w_scalb_template.c b/math/w_scalb_template.c index 2fd5ca1878..f9f98508e9 100644 --- a/math/w_scalb_template.c +++ b/math/w_scalb_template.c @@ -52,6 +52,18 @@ FLOAT M_DECL_FUNC (__scalb) (FLOAT x, FLOAT fn) return z; } +/* Don't provide _FloatN aliases for scalb which is a deprecated interface, + was obsolescent in POSIX.1-2001, removed in POSIX.1-2008, never made to + C standard. */ +#undef libm_alias_float_other_r +#define libm_alias_float_other_r(from, to, r) +#undef libm_alias_double_other_r +#define libm_alias_double_other_r(from, to, r) +#undef libm_alias_ldouble_other_r +#define libm_alias_ldouble_other_r(from, to, r) +#undef libm_alias_float128_other_r +#define libm_alias_float128_other_r(from, to, r) + declare_mgen_alias (__scalb, scalb); #endif /* __USE_WRAPPER_TEMPLATE. */ |