diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2023-05-13 11:02:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-13 11:02:49 -0600 |
commit | 5187067d7ad176ee3614beab2b99a524dd719aa8 (patch) | |
tree | 907997d0c294f550193322aaa73237c1a7bcfaa6 /numpy/core/src/npymath/ieee754.c.src | |
parent | b786189222ac5bf2f4efbb04399261f7f760bc18 (diff) | |
parent | 81caed6e3c34c4bf4b22b4f6167e816ba2a3f73c (diff) | |
download | numpy-5187067d7ad176ee3614beab2b99a524dd719aa8.tar.gz |
Merge branch 'main' into deprecate-find-common-type
Diffstat (limited to 'numpy/core/src/npymath/ieee754.c.src')
-rw-r--r-- | numpy/core/src/npymath/ieee754.c.src | 33 |
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); |