Function TCOD_rng_splitmix64_next¶
Defined in File random.h
Function Documentation¶
-
static inline uint64_t TCOD_rng_splitmix64_next(uint64_t *state)¶
Return the next random uint64_t from a SplitMix64 generator.
state[1]
is a non-NULL pointer to the internal state of the generator. There is no initializer function because the first value ofstate[1]
is itself the seed which can start at any value.state[1]
will be updated by this call.This function is provisional and may change.