Click or drag to resize

RandXoroshiro128PlusPlus Class

An implementation of the xoroshiro128++ PRNG which stores state in 4 x 32-bit numbers.
Inheritance Hierarchy
System.Object
  System.Random
    Orthogonal.Common.Basic.PRNG.RandCustomBase
      Orthogonal.Common.Basic.PRNG.RandXoroshiro128PlusPlus

Namespace: Orthogonal.Common.Basic.PRNG
Assembly: Orthogonal.Common.Basic (in Orthogonal.Common.Basic.dll) Version: 2025-03-15 14:42 GMT+11
Syntax
C#
public class RandXoroshiro128PlusPlus : RandCustomBase

The RandXoroshiro128PlusPlus type exposes the following members.

Constructors
 NameDescription
Public methodRandXoroshiro128PlusPlus()Initializes a new instance of the RandXoroshiro128PlusPlus class
Public methodRandXoroshiro128PlusPlus(Int32, Int32, Int32, Int32)Initializes a new instance of the RandXoroshiro128PlusPlus class
Top
Methods
 NameDescription
Public methodNextInt64
(Overrides RandCustomBase.NextInt64())
Top
Remarks

For more information see xoshiro / xoroshiro generators and the PRNG shootout.

Long running tests have observed the minimum values Next 0 (0x0) for Core 0.0 and the maximum Next 2147483646 (0x7FFFFFFE) from Core 0.999999999534339.

See Also