Function fastrange_rs::fastrange_usize
source · pub fn fastrange_usize(word: usize, p: usize) -> usize
Expand description
Given a value “word”, produces an integer in [0,p) without division.
pub fn fastrange_usize(word: usize, p: usize) -> usize
Given a value “word”, produces an integer in [0,p) without division.