12 #ifndef _RANDOM_GENERATOR_XOSHIRO_256_STAR_STAR_H_
13 #define _RANDOM_GENERATOR_XOSHIRO_256_STAR_STAR_H_
Pseudo-random integer generator. This class generates 64-bit integer using Xoshiro256** algorithm.
Xoshiro256StarStar(const int64_t seed)
Constructor. It initializes the state variable with random integers using splitmix64 pseudo-random ge...
static uint64_t rotation_left(const uint64_t x, int k)
Rotates the bits of a 64 bit integer toward left.
void long_jump()
Long jump function for the generator. It is equivalent to 2^192 calls to next(). It can be used to ge...
uint64_t next()
Generates the next presudo-random number.
~Xoshiro256StarStar()
Destructor.
void jump()
Jump function for the generator. It is equivalent to 2^128 calls to next(); it can be used to generat...