Go to the documentation of this file.
40 #ifndef RANDOM_SEED_DEFAULT
45 #define RANDOM_SEED_DEFAULT (1)
52 # define PRNG_FLOAT (0)
107 double random_real(
void);
113 double random_real_inclusive(
void);
119 double random_real_exclusive(
void);
125 double random_res53(
void);
void random_init_by_array(uint32_t init_key[], int key_length)
initialize by an array with array-length init_key is the array for initializing keys key_length is it...
void random_init(uint32_t s)
initializes PRNG with a seed
uint32_t random_uint32_range(uint32_t a, uint32_t b)
generates a random number r with a <= r < b.
uint32_t random_uint32(void)
generates a random number on [0,0xffffffff]-interval
void random_bytes(uint8_t *buf, size_t size)
writes random bytes in the [0,0xff]-interval to memory
Adds include for missing inttype definitions.