Return a random number between zero (inclusive) and n (exclusive), using the default random source. The numbers returned have a uniform distribution.
Return a random number in (0,1), using the default random source. The numbers returned have a uniform distribution.
A random source from which
random-integerandrandom-realhave been derived usingrandom-source-make-integersandrandom-source-make-reals(see SRFI-27 Random Number Generators for those procedures). Note that an assignment todefault-random-sourcedoes not changerandom-integerorrandom-real; it is also strongly recommended not to assign a new value.