A fast pseudorandom number generator using a XorShift+ algorithm with a period of 2^128 - 1.
This generator is guaranteed to always produce the same random sequence when started from the same seed, even across different environments and versions of Frost.
- Source Code:
- View Source
Instance Method Summary
init ( seed:
Creates a new
XorShift128Plus with a specific seed. All
XorShift128Plus instances created
with the same seed will return the same sequence of pseudorandom numbers.
seed the seed to use