next function
Last updated: 2026-03-05T10:53:28.864Z
Location
Metrics
LOC: 7
Complexity: 1
Params: 0
Signature
next(): : number
Summary
mulberry32 core — returns float [0, 1)
Source Code
function next(): number {
state |= 0;
state = (state + 0x6d2b79f5) | 0;
let t = Math.imul(state ^ (state >>> 15), 1 | state);
t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
}
No outgoing dependencies.
No incoming dependencies.