summaryrefslogtreecommitdiff
path: root/numpy/array_api/_creation_functions.py
diff options
context:
space:
mode:
authorGanesh Kathiresan <ganesh3597@gmail.com>2021-11-02 03:35:27 +0530
committerGitHub <noreply@github.com>2021-11-01 17:05:27 -0500
commitfae6fa47a3cf9b9c64af2f5bd11a3b644b1763d2 (patch)
tree835df556a0beaa6822692428c9ca4e9d6ccb76e1 /numpy/array_api/_creation_functions.py
parent987d25bebb3564eca4a86712ccdeba93016758ed (diff)
downloadnumpy-fae6fa47a3cf9b9c64af2f5bd11a3b644b1763d2.tar.gz
ENH: Adding `scalar.bit_count()` (popcount) (#19355)
Adding bitcount method to scalars, e.g.: a = np.int32(1023).bit_count() * ENH: Implementation of bit_count (popcount) * ENH: Add bit_count to integer scalar type * ENH: Annotations for bit_count * ENH, WIP: Documentation for bit_count * DOC: Added `bit_count` (#19355) * BUG: Fixed windows 32 bit issue with no `__popcnt64` * DOC: Refined docstring for bit_count * TST: Tests for bit_count * ENH, MAINT: Changed return type to uint_8 | Removed extra braces and fixed typo * BUG: Fixed syntax of bit_count * DOC, BUG: Fixed bit_count example * DOC, BUG: (#19355) Removed bit_count from routines.math.rst | Improved release notes * BUG: Added type suffix to magic constants * ENH: Handle 32 bit windows popcount | Refactored popcount implementation to new function * MAINT: Refactor type_methods, separate integer definitions * DOC: Added double-ticks
Diffstat (limited to 'numpy/array_api/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions