Function random_numbers::rotl

Function Documentation

static uint64_t random_numbers::rotl(const uint64_t &value, int bits)

Rotate the value a specified number of times.

Return
the rotated and shifted value
Parameters
  • value: the value to rotate
  • bits: the number of bits to shift