Rotate an unsigned integer left.
unsigned int _rotl (unsigned int value, int shift);
Required Header |
<stdlib.h> |
Return Value
This function returns the rotated value.
Parameters
value
The value to rotate
shift
The number of bit positions to rotate
Remarks
The _rotl function rotates the bits in value, in a left circular movement where no bits are lost.