W
William Stacey
Given any arbitrary byte (or int for that matter), is there a way to figure
out:
1) The *number of one's set without a loop? Maybe some formula?.
2) Looking from left the right, if all 1's are continuous with not
intervening 0's. 0's on the end ok.
TIA
out:
1) The *number of one's set without a loop? Maybe some formula?.
2) Looking from left the right, if all 1's are continuous with not
intervening 0's. 0's on the end ok.
TIA