highestSetBit

Returns the position of the highest set bit (0-based).

Return

Position of highest set bit, or -1 if empty