Modulebasement-0.0.16Haskell2010
Basement.Alg.XorShift
XorShift variant: Xoroshiro128+ https://en.wikipedia.org/wiki/Xoroshiro128%2B
Xoroshiro128+ is a PRNG that uses a shift/rotate-based linear transformation. This is lar
C implementation at: http://xoroshiro.di.unimi.it/xoroshiro128plus.c
- 1 type
- 3 values
- Packagebasement-0.0.16
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceXorShift.hs
Given a state, call the function f with the generated Word64 and the next State
Same as next but give a random value of type Double in the range of [0.0 .. 1.0]
Jump the state by 2^64 calls of next