Advances state and returns the next raw 32-bit unsigned integer.
state
The accumulator is kept to 32 bits with | 0; without it, state.a would grow as an unbounded float and lose integer precision past 2^53 (~5M draws), corrupting the sequence.
| 0
state.a
PRNG state created with create, mutated in place
an integer in the range [0, 2^32)
Advances
stateand returns the next raw 32-bit unsigned integer.The accumulator is kept to 32 bits with
| 0; without it,state.awould grow as an unbounded float and lose integer precision past 2^53 (~5M draws), corrupting the sequence.