# Io Reference

Math / Random / Random

|  | A high quality and reasonably fast random number generator based on Makoto Matsumoto, Takuji Nishimura, and Eric Landry's implementation of the Mersenne Twister algorithm. The default seed is a xor of the ANSI C time() and clock() return values.
|  | bytes(count) Returns a Sequence of size count containing random bytes. flip Returns a random bit as a true or false object. gaussian(optionalMean, optionalStandardDeviation) Returns a pseudo random number between 0 and 1 with a gaussian distribution. setSeed(aNumber) Sets the random number generator seed to the unsigned int version of aNumber. value(optionalArg1, optionalArg2) If called with: no arguments, it returns a floating point random Number between 0 and 1. one argument, it returns a floating point random Number between 0 and optionalArg1. two arguments, it returns a floating point random Number between optionalArg1 and optionalArg2.