pan> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/34496ec/src/core/math.c#L155">source</a></span> <pre class="binding-text">(math/rng-int rng &amp;opt max)

Extract a random random integer in the range [0, max] from the RNG. If no max is given, the default is 2^31 - 1.</pre><a href="https://janetdocs.org/math/rng-int">Community Examples</a></div><hr><div class="binding"><span id="math/rng-uniform" class="binding-sym">math/rng-unifor