diff options
Diffstat (limited to 'sysdeps/powerpc/power7/fpu/s_logb.c')
-rw-r--r-- | sysdeps/powerpc/power7/fpu/s_logb.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sysdeps/powerpc/power7/fpu/s_logb.c b/sysdeps/powerpc/power7/fpu/s_logb.c index 1c7a4a850b..ab8e634525 100644 --- a/sysdeps/powerpc/power7/fpu/s_logb.c +++ b/sysdeps/powerpc/power7/fpu/s_logb.c @@ -17,6 +17,7 @@ <http://www.gnu.org/licenses/>. */ #include <math_ldbl_opt.h> +#include <libm-alias-double.h> /* This implementation avoids FP to INT conversions by using VSX bitwise instructions over FP values. */ @@ -68,12 +69,4 @@ __logb (double x) /* Test to avoid logb_downward (0.0) == -0.0. */ return ret == -0.0 ? 0.0 : ret; } -weak_alias (__logb, logb) -#ifdef NO_LONG_DOUBLE -strong_alias (__logb, __logbl) -weak_alias (__logb, logbl) -#endif - -#if LONG_DOUBLE_COMPAT (libm, GLIBC_2_0) -compat_symbol (libm, __logb, logbl, GLIBC_2_0); -#endif +libm_alias_double (__logb, logb) |