summaryrefslogtreecommitdiff
path: root/numpy/core/src/npymath/ieee754.c.src
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/src/npymath/ieee754.c.src')
-rw-r--r--numpy/core/src/npymath/ieee754.c.src33
1 files changed, 0 insertions, 33 deletions
diff --git a/numpy/core/src/npymath/ieee754.c.src b/numpy/core/src/npymath/ieee754.c.src
index 5d8cb06a4..8fccc9a69 100644
--- a/numpy/core/src/npymath/ieee754.c.src
+++ b/numpy/core/src/npymath/ieee754.c.src
@@ -15,20 +15,6 @@
#define LDBL_TRUE_MIN __LDBL_DENORM_MIN__
#endif
-#if !defined(HAVE_DECL_SIGNBIT)
-#include "_signbit.c"
-
-int _npy_signbit_f(float x)
-{
- return _npy_signbit_d((double) x);
-}
-
-int _npy_signbit_ld(long double x)
-{
- return _npy_signbit_d((double) x);
-}
-#endif
-
/*
* FIXME: There is a lot of redundancy between _next* and npy_nextafter*.
* refactor this at some point
@@ -326,25 +312,6 @@ static npy_longdouble _nextl(npy_longdouble x, int p)
}
/**end repeat**/
-/*
- * Decorate all the math functions which are available on the current platform
- */
-
-float npy_nextafterf(float x, float y)
-{
- return nextafterf(x, y);
-}
-
-double npy_nextafter(double x, double y)
-{
- return nextafter(x, y);
-}
-
-npy_longdouble npy_nextafterl(npy_longdouble x, npy_longdouble y)
-{
- return nextafterl(x, y);
-}
-
int npy_clear_floatstatus() {
char x=0;
return npy_clear_floatstatus_barrier(&x);