Expand description
A deterministic pseudo-random generator.
Home-grown rather than rand: the scenes are a measuring standard, and
reproducibility matters more here than distribution quality. An
external generator may change algorithm in a minor release, and every
number recorded in the tests would stop matching.
The algorithm is splitmix64: ten lines, good bit quality, period 2⁶⁴.
Structs§
- Rng
- A generator with explicit state.