summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/math/pow10l.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/math/pow10l.c')
-rw-r--r--winsup/cygwin/math/pow10l.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/cygwin/math/pow10l.c b/winsup/cygwin/math/pow10l.c
new file mode 100644
index 000000000..ad5348951
--- /dev/null
+++ b/winsup/cygwin/math/pow10l.c
@@ -0,0 +1,8 @@
+#undef pow10l
+#include <math.h>
+
+long double
+pow10l (long double x)
+{
+ return powl (10.0L, x);
+}