Open Bug 1244784 Opened 8 years ago Updated 2 years ago

Seed XorShift128+ PRNG with SplitMix64

Categories

(Core :: MFBT, defect)

defect

Tracking

()

People

(Reporter: jimb, Unassigned)

Details

In Bug 1206356 comment 10, the designer of the XorShift128+ pseudo-random number generator made a recommendation about how to seed the RNG:

"If the initial state contains many zeros, for a few iterations you'll see many zeros. My suggestion is to seed a SplitMix64 generator (http://xorshift.di.unimi.it/splitmix64.c) and to use its first two outputs to seed xorshift128+."

We should try this out.

(Splitting this off from bug 1239479, so that that can be closed.)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.