x % yPerform the modulo operator on Python objects.
|
If one of the arguments is a Macaulay2 object, then it is first converted to a Python object before dividing.
|
|
Note that the behavior of the modulo operator for integers differs between Macaulay2 and Python. In particular, in Macaulay2, the remainder is always nonnegative. In Python, the remainder will have the same sign as y.
|
|
The source of this document is in Python/doc/arithmetic.m2:623:0.