____ ____ ____ ____ 
||n |||i |||m |||f ||
||__|||__|||__|||__||
|/__\|/__\|/__\|/__\|

	

the nimf guide : api : " random "

The random module provides access to pseudo-random number generation. The methods used in this module for number generation are not cryptographically secure/stable and should not be used for mission critical randomness or in any security context. Words in this module are prefixed with `random.`.

Words


random.random

Signature: ( max -- n )

Description: Eats a value, max, from TOS. Leaves a pseudo-random value from 0 to max (not inclusive) on TOS.

random.range

Signature: ( min max -- n )

Description: Eats two values, max and min, from TOS. Leaves a pseudo-random value from min to max (not inclusive) on TOS.