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/log2.c')
-rw-r--r--newlib/libm/machine/spu/log2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/libm/machine/spu/log2.c b/newlib/libm/machine/spu/log2.c
new file mode 100644
index 000000000..9bbb31de2
--- /dev/null
+++ b/newlib/libm/machine/spu/log2.c
@@ -0,0 +1,8 @@
+#include <math.h>
+#include "headers/log2.h"
+
+#undef log2
+double log2(double vx)
+{
+ return _log2(vx);
+}