46 #define pg_prng_strong_seed(state) \
47 (pg_strong_random(state, sizeof(pg_prng_state)) ? \
48 pg_prng_seed_check(state) : false)
int64 pg_prng_int64_range(pg_prng_state *state, int64 rmin, int64 rmax)
double pg_prng_double(pg_prng_state *state)
uint64 pg_prng_uint64_range(pg_prng_state *state, uint64 rmin, uint64 rmax)
int32 pg_prng_int32(pg_prng_state *state)
uint32 pg_prng_uint32(pg_prng_state *state)
uint64 pg_prng_uint64(pg_prng_state *state)
int32 pg_prng_int32p(pg_prng_state *state)
int64 pg_prng_int64(pg_prng_state *state)
struct pg_prng_state pg_prng_state
void pg_prng_seed(pg_prng_state *state, uint64 seed)
int64 pg_prng_int64p(pg_prng_state *state)
bool pg_prng_seed_check(pg_prng_state *state)
PGDLLIMPORT pg_prng_state pg_global_prng_state
double pg_prng_double_normal(pg_prng_state *state)
bool pg_prng_bool(pg_prng_state *state)
void pg_prng_fseed(pg_prng_state *state, double fseed)