49 #define __U16MAX 65535
51 #define __32MAX 2147483647L
52 #define __U32MAX 4294967295U
54 #define __64MAX 9223372036854775807LL
55 #define __U64MAX 18446744073709551615ULL
91 uint64_t a = 6364136223846793005ULL,
92 uint64_t c = 1442695040888963407ULL);
98 void seed(uint64_t new_seed);
111 uint32_t
rotr32(uint32_t x,
unsigned r);
113 uint32_t
pcg32(
void);
Linear Congruential Generator.
uint64_t get_increment() const
void seed(uint64_t new_seed)
uint64_t get_seed() const
uint64_t get_multiplier() const
void pcg32_init(uint64_t seed)
uint32_t rotr32(uint32_t x, unsigned r)
The source C++ openGPMP namespace.
static uint64_t const __PCG_MULTPLR
static uint64_t __PCG_STATE
static uint64_t const __PCG_INCR