Seed XorShift128+ PRNG with SplitMix64

NEW
Unassigned

Status

()

3 years ago
3 years ago

People

(Reporter: jimb, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
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.)
You need to log in before you can comment on or make changes to this bug.