Modulo function.
Elemental function
Same as A.
If P > 0, the inequalities 0 ≤ R < P hold.
If P < 0, P < R ≤ 0 hold.
If P = 0, the result is undefined.