Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/machine/spu/log2f.c')
-rw-r--r--newlib/libm/machine/spu/log2f.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/libm/machine/spu/log2f.c b/newlib/libm/machine/spu/log2f.c
new file mode 100644
index 000000000..42b2c02bb
--- /dev/null
+++ b/newlib/libm/machine/spu/log2f.c
@@ -0,0 +1,8 @@
+#include <math.h>
+#include "headers/log2f.h"
+
+#undef log2f
+float log2f(float x)
+{
+ return _log2f(x);
+}