Skip to content
Skein

Hamming weight

RU: вес Хэмминга

The number of bits equal to 1 in a number's binary representation, also called its population count. Brian Kernighan's algorithm computes it in O(number of set bits) instead of checking every bit position.

shortcutsexpand
search
⌘K
prev piece
k
next piece
j
cycle tier
t
this menu
?