about summary refs log tree commit diff
path: root/src/math/s_ldexpf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/s_ldexpf.c')
-rw-r--r--src/math/s_ldexpf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/s_ldexpf.c b/src/math/s_ldexpf.c
new file mode 100644
index 00000000..3bad5f39
--- /dev/null
+++ b/src/math/s_ldexpf.c
@@ -0,0 +1,6 @@
+#include <math.h>
+
+float ldexpf(float x, int n)
+{
+	return scalbnf(x, n);
+}