0.1.2 • Published 7 years ago

integer-bitcount v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

integer-bitcount

NOTE: integer-bitcount was renamed to @extra-integer/bit-count. NPM

Count bits set in 32-bit integer (parallel method).

const bitCount = require('integer-bitcount');
// bitCount(<integer>)

bitCount(7);
// 3 (111 => 3)
bitCount(12);
// 2 (1100 => 2)
bitCount(63);
// 6 (111111 => 6)
0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago