aureooms/js-pseudo-random

View on GitHub
src/nextFloat32.js

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
export default function nextFloat32(prng) {
    const x = prng.next().value;
    return (x >>> 9) / 2 ** 23;
}