rotr64

Rotates an unsigned 64-bit value to the right by a specified number of bits.

Library:LibC
Classification:Other
Service:General C Services

Syntax

  #include <stdlib.h> 
   
  uint64_t rotr64 (
     uint64_t   value,   
     int        shift);
  

Parameters

value

(IN) Specifies the value to rotate.

shift

(IN) Specifies the number of bits to rotate.

Return Values

Returns the rotated value.

Remarks

The rotr64 function rotates the unsigned 64-bit value to the right by the number of bits specified in the shift parameter.

See Also