math docs
    Preparing search index...

    Function next

    • Advances state and returns the next raw 32-bit unsigned integer.

      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.

      Parameters

      Returns number

      an integer in the range [0, 2^32)