_rotr

Rotate an unsigned integer right.

unsigned int _rotr (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 _rotr function rotates the bits in value, in a right circular movement where no bits are lost.

Standard Library

See Also    _lrotl, _lrotr, _rotl