xoshiro128p
xoshiro128p(
seed):RandomFn
Defined in: xoshiro128p.ts:15
Creates a seeded pseudo-random number generator function using the xoshiro128+ algorithm by Blackman & Vigna (2018). 128-bit state, 32-bit output.
Recommended for floating-point generation. Passes PractRand. Faster than the
** variant.
Parameters
Section titled “Parameters”number
The seed value used to derive the four 32-bit state words.
Returns
Section titled “Returns”RandomFn
A function that generates pseudo-random numbers in the range [0, 1) when called.