Test division by power of 2 rule

Rule: Shifting an integer to the right by n is the equivalent of
dividing it by 2^n.

Not sure if this holds true for signed bits (only unsigned).