about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32/fpu/multiarch/s_logb-c.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/powerpc32/fpu/multiarch/s_logb-c.c')
-rw-r--r--sysdeps/powerpc/powerpc32/fpu/multiarch/s_logb-c.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc32/fpu/multiarch/s_logb-c.c b/sysdeps/powerpc/powerpc32/fpu/multiarch/s_logb-c.c
new file mode 100644
index 0000000000..eb98d7436c
--- /dev/null
+++ b/sysdeps/powerpc/powerpc32/fpu/multiarch/s_logb-c.c
@@ -0,0 +1,10 @@
+#include <math.h>
+
+#undef weak_alias
+#define weak_alias(a, b)
+#undef strong_alias
+#define strong_alias(a, b)
+
+#define __logb __logb_ppc32
+
+#include <sysdeps/ieee754/dbl-64/s_logb.c>