chickadee » srfi-27 » make-uniform-random-integers

(make-uniform-random-integers [#:high #f] [#:low 0] [#:precision 1] [#:source (current-random-source)]) => (procedure () integer)procedure

low, high and precision are integers.

source is a random-source.

high, if not supplied, is the (random-source-maximum-range source).

The generator returns integers in the range low .. high with an index of precision. Unlike a (random-integer) result negative integers are possible.

The range of the generator is checked for logical soundness.