which bit is set in a byte?

Checking 8 bits is going to be much faster than performing floating-point logarithm and division operations.

I have to agree on that.

Jacques