summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/umathmodule.c.src6
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/core/src/umathmodule.c.src b/numpy/core/src/umathmodule.c.src
index 471550002..2bb4643d6 100644
--- a/numpy/core/src/umathmodule.c.src
+++ b/numpy/core/src/umathmodule.c.src
@@ -54,6 +54,12 @@ static float frexpf(float x, int * i);
return (float)frexp((double)(x), i);
}
#endif
+#ifndef HAVE_LDEXPF
+static float ldexpf(float x, int i);
+{
+ return (float)ldexp((double)(x), i);
+}
+#endif
#endif
#ifndef HAVE_INVERSE_HYPERBOLIC