Skip to main content

mod_u64

Function mod_u64 

Source
pub fn mod_u64(n: u64) -> u64
Available on crate feature tls only.
Expand description

Generates a random u64 value in range (0..n).

ยงNotice

This has a very slight bias. Use range_u64() instead for no bias.