53static uint32_t counter;
64 tmp = a + b + counter++;
65 a = b ^ (b >> RSHIFT);
66 b = c + (c << LSHIFT);
67 c = ((c << BARREL_SHIFT) | (c >> (32 - BARREL_SHIFT))) + tmp;
80 for(uint_fast8_t i = 0; i < 24; i++) {
Header file for generating non-cryptographic random numbers.
Structure of PRNG drivers.
uint_fast16_t(* rand)(void)
Generates a 16-bit pseudo-random number.
void(* seed)(uint64_t seed)
Seeds the PRNG with a seed.