A program or module may be allowed to use the random number generator.
use random()
random
functionsThe random
function returns a number between 0
and 1
. There is a 50% chance that the result is less than 0.5
.
The random_fit
function returns an integer in the range -36028797018963968
thru 36028797018963967
that contains 56 random bits. See fit.
The random_whole
function returns a whole number that is greater than or equal to zero and less than the number, which must be less than 36028797018963968
.