macro_rules! rand_uint {
($rng:expr, $min:expr, $max:expr) => { ... };
}Expand description
Generates an unbiased u32 in the inclusive range [min, max].
ยงExamples
use vrd::{Random, rand_uint};
let mut rng = Random::from_u64_seed(42);
let n = rand_uint!(rng, 0, 100);