summaryrefslogtreecommitdiff
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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/powerpc/power7/fpu/s_logbf.c b/sysdeps/powerpc/power7/fpu/s_logbf.c
index a3873b842b..0832ad7022 100644
--- a/sysdeps/powerpc/power7/fpu/s_logbf.c
+++ b/sysdeps/powerpc/power7/fpu/s_logbf.c
@@ -1,5 +1,5 @@
/* logbf(). PowerPC/POWER7 version.
- Copyright (C) 2012-2016 Free Software Foundation, Inc.
+ Copyright (C) 2012-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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)