circu.js
    Preparing search index...

    A class for generating random numbers using the Xoshiro256** algorithm.

    Index

    Constructors

    • Creates a new XoshiroRNG instance.

      Parameters

      • Optionalseed: number | number[]

        The seed to use for initializing the RNG. If not provided, a random seed will be generated.

      Returns XoshiroRNG

    Methods

    • Clones the RNG instance.

      Returns XoshiroRNG

      A new XoshiroRNG instance with the same state as the current instance.

    • Jumps the RNG sequence

      Returns void

    • Long jumps the RNG sequence

      Returns void

    • Generates the next random number in the sequence.

      Returns number | bigint

      The next random number in the sequence.

    • Generates the next random double in the sequence.

      Returns number

      The next random double in the sequence.