chickadee » mathh » fxlog2

fxlog2 Nprocedure

Returns index of highest bit set, so N is treated as unsigned.