Counting bits in integers

While working on the code to count the number of fifteens I had in a hand in cribbage, I found it would be useful to count the number of bits in an integer. The comment below explains why it is useful

Read Moreā€¦

All Posts by Category or Tags.