summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2007-07-28 13:13:33 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2007-07-28 13:13:33 +0000
commit73f4ef1d53b0d548eb11dbd9dd8ae5cac445b7a0 (patch)
tree266b09cda87f04a44ed6f9707b5abe887afde067 /numpy
parent8ddf292d22eb7333fe42023d84e821ef61f468ac (diff)
downloadnumpy-73f4ef1d53b0d548eb11dbd9dd8ae5cac445b7a0.tar.gz
Trying to fix compiler wrarnings, 5. Defined ldexpf when DISTUTILS_USE_SDK.
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