Random

Random — Random numbers helper library

Functions

Includes

#include <igt_rand.h>

Description

Functions

hars_petruska_f54_1_random ()

uint32_t
hars_petruska_f54_1_random (uint32_t *state);

hars_petruska_f54_1_random64 ()

uint64_t
hars_petruska_f54_1_random64 (uint32_t *s);

hars_petruska_f54_1_random_seed ()

uint32_t
hars_petruska_f54_1_random_seed (uint32_t seed);

hars_petruska_f54_1_random_unsafe ()

uint32_t
hars_petruska_f54_1_random_unsafe (void);

hars_petruska_f54_1_random_perturb ()

void
hars_petruska_f54_1_random_perturb (uint32_t xor);

hars_petruska_f54_1_random_unsafe_max ()

uint32_t
hars_petruska_f54_1_random_unsafe_max (uint32_t ep_ro);