Skip to content

@temporary-escape/mod-sdk / splitmix64

Function: splitmix64() ​

ts
function splitmix64(value: number): number;

Defined in: random.ts:11

SplitMix64, used to derive the PCG stream selector from the seed. Kept public so callers can derive independent child seeds with the same function.

Parameters ​

ParameterType
valuenumber

Returns ​

number