_lrotr

Rotates a long value to the right by the specified number of bits

Local Servers:nonblocking
Remote Servers:N/A
Platform:NLM
Service:Data Manipulation

Syntax

  #include <stdlib.h>  
   
  unsigned long _lrotr  (  
     unsigned long   value,   
     unsigned int    shift);
  

Parameters

value
(IN) Specifies the value to be rotated.
shift
(IN) Specifies the number of bits by which to rotate the value.

Return Values

Returns the rotated value.

Remarks

_lrotr rotates an unsigned long value to the right by the number of bits specified in the shift parameter.

To rotate an unsigned int value, call the _rotr function.

See Also

_lrotl, _rotl, _rotr