[Numpy-svn] [numpy/numpy] df3ed2: BUG: Give bitwise_xor an identity.
GitHub
noreply at github.com
Sat Mar 5 08:14:25 EST 2016
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: df3ed28a6d8410e383f79d8ecb670722b8f5c5c9
https://github.com/numpy/numpy/commit/df3ed28a6d8410e383f79d8ecb670722b8f5c5c9
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-03-02 (Wed, 02 Mar 2016)
Changed paths:
M numpy/core/code_generators/generate_umath.py
Log Message:
-----------
BUG: Give bitwise_xor an identity.
The identity for bitwise_xor is zero.
Commit: 25dd5e5f8ec9b09f4de37e7308eaf179bbb15dc2
https://github.com/numpy/numpy/commit/25dd5e5f8ec9b09f4de37e7308eaf179bbb15dc2
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-03-03 (Thu, 03 Mar 2016)
Changed paths:
M numpy/core/code_generators/generate_umath.py
M numpy/core/include/numpy/ufuncobject.h
M numpy/core/src/umath/ufunc_object.c
Log Message:
-----------
ENH: Add identity for bitwise_and.
Current value is 1, which only works for the low order bit. Use -1
instead.
Closes #7060.
Commit: 3ed543e996b23418f78fc25e77e06b1f0e29f65f
https://github.com/numpy/numpy/commit/3ed543e996b23418f78fc25e77e06b1f0e29f65f
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-03-03 (Thu, 03 Mar 2016)
Changed paths:
M numpy/core/tests/test_umath.py
Log Message:
-----------
TST: Add tests for the bitwise ufuncs.
- test values
- test identity for bitwise_or, bitwise_xor, bitwise_and
Commit: 9653c05a53327332a481cd697708ae9b6360fbf0
https://github.com/numpy/numpy/commit/9653c05a53327332a481cd697708ae9b6360fbf0
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-03-03 (Thu, 03 Mar 2016)
Changed paths:
M doc/release/1.12.0-notes.rst
Log Message:
-----------
DOC: Document the changed bitwise_and identity.
The identity has changed from 1 to -1.
Commit: 74487e4a92a7f47fa89cd379b8b49fc7ef22dcde
https://github.com/numpy/numpy/commit/74487e4a92a7f47fa89cd379b8b49fc7ef22dcde
Author: seberg <sebastian at sipsolutions.net>
Date: 2016-03-05 (Sat, 05 Mar 2016)
Changed paths:
M doc/release/1.12.0-notes.rst
M numpy/core/code_generators/generate_umath.py
M numpy/core/include/numpy/ufuncobject.h
M numpy/core/src/umath/ufunc_object.c
M numpy/core/tests/test_umath.py
Log Message:
-----------
Merge pull request #7373 from charris/add-bitwise_and-identity
ENH: Add bitwise_and identity
Compare: https://github.com/numpy/numpy/compare/8ccfedefe912...74487e4a92a7
More information about the Numpy-svn
mailing list