mod

Returns the non-negative remainder of x / m.

Parameters

x

The operand.

m

The modulus.