In that case, the sign bit is copied into lower bits, for esoteric historical reasons:
If you are careful to avoid sign extension, you can use the right-shift operator >> as a way to divide by powers of 2. For example:
I'm unhappy with that since two's complement is neither historic nor esoteric
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16