If you have to count numbers of 1 in a 32 bit word. Other than checking every other bit or dividing the bits is 4 parts and then using lookup table. What will be some other most efficent way ?
mehakkapur 0 Newbie Poster
Dave Sinkula 2,398 long time no c Team Colleague
Ravalon commented: fun link :-) -Raye +1
sdillinger 0 Newbie Poster
Ravalon 62 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.