x // yDivide two Python objects, giving the "floor" quotient, e.g., when dividing two integers, the result is the quotient using Euclidean division.
|
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 floor division for integers differs between Macaulay2 and Python. In particular, in Macaulay2, the quotient is rounded down when y is positive and up when y is negative. In Python, the quotient is always rounded down.
|
|
The source of this document is in Python/doc/arithmetic.m2:517:0.