aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/power7/fpu/s_logbf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/power7/fpu/s_logbf.c')
-rw-r--r--sysdeps/powerpc/power7/fpu/s_logbf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/powerpc/power7/fpu/s_logbf.c b/sysdeps/powerpc/power7/fpu/s_logbf.c
index 1461327cd1..9b8162b2b5 100644
--- a/sysdeps/powerpc/power7/fpu/s_logbf.c
+++ b/sysdeps/powerpc/power7/fpu/s_logbf.c
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include "math_private.h"
+#include <libm-alias-float.h>
/* This implementation avoids FP to INT conversions by using VSX
bitwise instructions over FP values. */
@@ -57,4 +58,4 @@ __logbf (float x)
The test is to avoid logb_downward (0.0) == -0.0. */
return ret == -0.0 ? 0.0 : ret;
}
-weak_alias (__logbf, logbf)
+libm_alias_float (__logb, logb)