Testing module

rng_below

procedure · 1 overloadsince 0.30.0Source

A number from 0 to count - 1; 0 when count is 0.

rng_below :: (rng: *Rng, count: u64) -> u64

A number from 0 to count - 1; 0 when count is 0.

Parameters

rng: *Rng
the generator to draw from.
count: u64
how many values to choose from.

Returns

u64

See also