5.4.8 How Can I Rotate a Variable?
The C language does not have a rotate operator, but rotations can be performed using the shift and bitwise OR operators. For more information, see the following sections in this user’s guide:
Bitwise Operations on Signed Values (CCI)
Right-shifting Signed Values (Signed variables)