# HG changeset patch # User Steve Losh # Date 1490278005 0 # Node ID 99e172c5fdbf2c0130c41329e119fc44ff602a8e # Parent ce8a7b89014e2c43e8ac6ec7a553f1b660cca92d cl-pcg: Update site. diff -r ce8a7b89014e -r 99e172c5fdbf cl-pcg/reference/index.html --- a/cl-pcg/reference/index.html Thu Mar 23 14:02:49 2017 +0000 +++ b/cl-pcg/reference/index.html Thu Mar 23 14:06:45 2017 +0000 @@ -76,6 +76,13 @@ +

Generate and return a random number in the specified interval.

+

If max is omitted the interval will be [0, bound).

+

If max is given the interval will be [bound, max).

+

If inclusive? is given the interval will be [bound, max].

+

If either of bound or max are floats, the result will be a float. + Otherwise the result will be an integer.

+

As a side effect, the state of pcg will be advanced.

PCG-RANDOM% (function)

(PCG-RANDOM% PCG)