aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libc/musl/src/math/ldexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'system/lib/libc/musl/src/math/ldexp.c')
-rw-r--r--system/lib/libc/musl/src/math/ldexp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/lib/libc/musl/src/math/ldexp.c b/system/lib/libc/musl/src/math/ldexp.c
new file mode 100644
index 00000000..f4d1cd6a
--- /dev/null
+++ b/system/lib/libc/musl/src/math/ldexp.c
@@ -0,0 +1,6 @@
+#include <math.h>
+
+double ldexp(double x, int n)
+{
+ return scalbn(x, n);
+}