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