4.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, refer to the following sections:
Bitwise Operations on Signed Values (CCI)
Right-Shifting Signed Values (CCI - Signed variables)