Skip to content

xoshiro256pp

xoshiro256pp(seed?): Xoshiro256pp

Defined in: src/engine/xoshiro256pp.ts:161

xoshiro256++ — 256 bits of state.

The same family as xoshiro128pp with a longer period, and the one to pick when you need jump() to hand disjoint streams to parallel workers.

Seed

Xoshiro256pp

const source = xoshiro256pp(42);
source.nextUint32(); // 1573169414
// Non-overlapping streams for parallel work.
const [a, b, c] = source.split(3);