...
This compliant solution tests the suspect shift operation to guarantee there is no possibility of unsigned wrap. This solution must also be compliant with INT36INT34-C. Do not shift a negative number of bits or more bits than exist in the operand.
...