Why is it useful to count the number of bits?
Posted
by Scorchin
on Stack Overflow
See other posts from Stack Overflow
or by Scorchin
Published on 2010-04-13T15:48:45Z
Indexed on
2010/04/13
15:53 UTC
Read the original article
Hit count: 344
I've seen the numerous questions about counting the number of set bits in a insert type of
input, but why is it useful?
For those looking for algorithms about bit counting, look here:
- http://stackoverflow.com/questions/1517848/counting-common-bits-in-a-sequence-of-unsigned-longs
- http://stackoverflow.com/questions/472325/fastest-way-to-count-number-of-bit-transitions-in-an-unsigned-int
- http://stackoverflow.com/questions/109023/best-algorithm-to-count-the-number-of-set-bits-in-a-32-bit-integer
© Stack Overflow or respective owner