|
libtcod
|
Experimental random number generators. More...
Go to the source code of this file.
Functions | |
| static uint64_t | TCOD_rng_splitmix64_next (uint64_t *state) |
| Return the next random uint64_t from a SplitMix64 generator. | |
Experimental random number generators.
|
inlinestatic |
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 of state[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.