Click or drag to resize

RandXoshiro512PlusPlus Class

An implementation of the xoshiro512++ PRNG which stores state in 8 x 64-bit numbers. The authors call it: one of our all-purpose, rock-solid generators. It has excellent(sub-ns) speed, a state(512 bits) that is large enough for any parallel application, and it passes all tests we are aware of.
Inheritance Hierarchy
SystemObject
  SystemRandom
    Orthogonal.Common.Basic.PRNGRandCustomBase
      Orthogonal.Common.Basic.PRNGRandXoshiro512PlusPlus

Namespace: Orthogonal.Common.Basic.PRNG
Assembly: Orthogonal.Common.Basic (in Orthogonal.Common.Basic.dll) Version: 3.2.8
Syntax
C#
public class RandXoshiro512PlusPlus : RandCustomBase

The RandXoshiro512PlusPlus type exposes the following members.

Constructors
 NameDescription
Public methodRandXoshiro512PlusPlusInitializes a new instance of the RandXoshiro512PlusPlus class
Public methodRandXoshiro512PlusPlus(Int64, Int64, Int64, Int64, Int64, Int64, Int64, Int64)Initializes a new instance of the RandXoshiro512PlusPlus class
Top
Methods
 NameDescription
Public methodNextInt64
(Overrides RandCustomBaseNextInt64)
Top
Remarks

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

Long running tests have observed the expected minimum value 0 (0x0) and maximum 2147483646 (0x7FFFFFFE). Looping to find the Int64 limits reached these values:

                       LOOP |                  MINIMUM |                              MAXIMUM |
            182,856,000,800 | 4872452 00000000004A5904 | 9223372036826588486 7FFFFFFFFE51E546 |
            

See Also