Implementation of the Park Miller (1988) "minimal standard" linear congruential pseudo-random number generator.
Example:
import {PRNG} from 'prng';
const rng = new PRNG(280583);
console.log(rng.random());
Implementation of the Park Miller (1988) "minimal standard" linear congruential pseudo-random number generator.
Example:
import {PRNG} from 'prng';
const rng = new PRNG(280583);
console.log(rng.random());