data.random.xoshiro


class xoshiro_random §

Xoshiro-128 random number generator.

The “128” here refers to the internal state; the RNG actually returns 32-bit values.

Methods

  • [[max_threads(1)]] void set_seed(uint32 seed) §
    

    Set the RNG seed. Do not call this concurrently with next.

  • uint32 next() §
    

    Get the next random number in the sequence.