Misty Programming Language:Random Functions

A program or module may be allowed to use the random number generator.

use random()

random functions

random.random()

The random function returns a number between 0 and 1. There is a 50% chance that the result is less than 0.5.

random.random_fit()

The random_fit function returns an integer in the range -36028797018963968 thru 36028797018963967 that contains 56 random bits. See fit.

random.random_whole(number)

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.