euclideanModulo

Computes the Euclidean modulo ((n % m) + m) % m.

Return

The Euclidean modulo.

Parameters

n

The dividend.

m

The divisor.