Modulo
public protocol Modulo[Other = Self]Raw protocol backing the % operator.
For integers this is the remainder of truncated division, with the sign of
the dividend. Use floorMod (defined on integer types) when you want
Euclidean / floor-style remainder semantics.
Associated Types
type Output
type OutputMethods
consuming func modulo(consuming Other) -> Output
consuming func modulo(consuming Other) -> OutputReturns self % other.
Defined in lang/std/core/arithmetic.ks