Function kcore::utils::round_down[][src]

pub fn round_down(x: usize, n: usize) -> usize
Expand description

Round down to the nearest multiple of n.