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