AngouriMath

Navigation

← Back to list of members

op_Modulus​(AngouriMath.​Entity.​Number.​Integer,​AngouriMath.​Entity.​Number.​Integer)

 Method (no overloads)

Summary

The floored remainder, which takes the sign of the divisor: -7 % 3 is 2 and
7 % (-3) is -2. See https://github.com/asc-community/AngouriMath/issues/708.

Remarks

Not EInteger.Mod, which refuses a negative divisor outright and so
made this operator throw on ordinary input.

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1953 pages online