AngouriMath
Navigation
#ctor(AngouriMath.Entity,AngouriMath.Entity)
Method (no overloads)
Summary
A node of modulus, that is, the floored remainder after division,
a - b * floor(a / b) , which takes the sign of the divisor:
(-7) mod 3 is 2 and 7 mod (-3) is -2 , the convention of
SymPy, Mathematica and Maxima and the one under which the residues modulon are 0 to n - 1 . Not C#'s % , which truncates; this comment said
the opposite of what the evaluation and the documentation do.
SymPy, Mathematica and Maxima and the one under which the residues modulo
the opposite of what the evaluation and the documentation do.
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5057 pages online