Testing module

rng_range

procedure · 1 overloadsince 0.30.0Source

A number from low to high, both included.

rng_range :: (rng: *Rng, low: s64, high: s64) -> s64

A number from low to high, both included.

Parameters

rng: *Rng
the generator to draw from.
low: s64
the smallest result.
high: s64
the largest result.

Returns

s64

See also