Is there an easy/fast way to shift off trailing zeroes from a binary number? Suppose I have the number 108 (1101100). I'd like to turn that into 27 (11011) as quickly and efficiently as possible. I could run it through a loop until mod 2 is 1, but I wasn't sure if there was some nifty bitwise operation that could be applied to get the same result more efficiently.