Loading

PRNG

math

The PRNG function initializes the stack's seeded Pseudorandom Number Generator (PRNG). This PRNG can later be used by the SRAND function to produce random numbers in a deterministic way (!).

PRNG is available since version 1.2.9.

See also

Signatures

Examples

42 PRNG SRAND // Gives the same pseudo-random number as the seed is reset to the same value. 42 PRNG SRAND