Function pitch_calc::utils::modulo [] [src]

pub fn modulo<I: Int>(a: I, b: I) -> I

The modulo function (handles negatives differently to Rust's remainder % operator).