Function Subspace :: sus :: num :: operator%

auto operator%(i32 l, i32 r) -> i32

Computes the remainder of l divided by r, also known as the modulo operation.

Satisfies the Rem concept for signed integers.

This operation supports shifting with primitive signed or unsigned integers that convert to the safe numeric, as well as enums. However enum class is excluded as they require an explicit conversion to an integer.

Panics

This operator will panic when dividing by zero or when division will overflow.