Description
The authors of the algorithm implemented in org.apache.commons.rng.core.source64.XorShift1024Star have produced a new variant using a different multiplier. The source code is described here:
For clarity the code states:
NOTE: as of 2017-10-08, this generator has a different multiplier (a fixed-point representation of the golden ratio), which eliminates linear dependencies from one of the lowest bits. The previous multiplier was 1181783497276652981 (M_8 in the paper). If you need to tell apart the two generators, you can refer to this generator as xorshift1024φ and to the previous one as xorshift1024*M_8.
This can be added as a variant of the current implementation:
class = XorShift1024StarPhi
RandomSource = XOR_SHIFT_1024_S_PHI
Attachments
Issue Links
- links to