diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2019-03-28 19:12:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-28 19:12:05 -0700 |
commit | db5fcc8e5834a5f36a1043da898f76562d5475ae (patch) | |
tree | 65d90b8dde255587db1f374a0ded8519fb8f9d8a /doc/release | |
parent | fd105d14b7b0fbddae21c795548b65c33696100a (diff) | |
parent | 5785ca7bef5c0a44042f34c496bceeb79161cd8a (diff) | |
download | numpy-db5fcc8e5834a5f36a1043da898f76562d5475ae.tar.gz |
Merge pull request #12988 from qwhelan/bool_ufunc
ENH: Create boolean and integer ufuncs for isnan, isinf, and isfinite.
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/1.17.0-notes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst index 7ff064c01..7857400e8 100644 --- a/doc/release/1.17.0-notes.rst +++ b/doc/release/1.17.0-notes.rst @@ -191,6 +191,12 @@ concatenation. In some cases where ``np.interp`` would previously return ``np.nan``, it now returns an appropriate infinity. +Specialized ``np.isnan``, ``np.isinf``, and ``np.isfinite`` ufuncs for bool and int types +----------------------------------------------------------------------------------------- +The boolean and integer types are incapable of storing ``np.nan`` and ``np.inf`` values, +which allows us to provide specialized ufuncs that are up to 250x faster than the current +approach. + Changes ======= |