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

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

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