fn mod(comptime T: type, numerator: T, denominator: T) !T
[src]
Returns numerator modulo denominator, or an error if denominator is zero or negative. Negative numerators never result in negative return values.
fn mod(comptime T: type, numerator: T, denominator: T) !T
Returns numerator modulo denominator, or an error if denominator is zero or negative. Negative numerators never result in negative return values.