<div id="comment:0"></div> The `__floordiv__` special implementation for monomials throws away coefficients. ``` sage: R.<x,y,z>=ZZ[] sage: f=3*x^2-1 sage: f//x x ``` A patch is attached to fix this along with some other coercion issues. Component: **commutative algebra** _Issue created by migration from https://trac.sagemath.org/ticket/2594_
Activity
malb commentedon Mar 19, 2008
Attachment: mpoly-div-bug.patch.gz
Patch looks good.
sagetrac-mabshoff commentedon Mar 19, 2008
Merged in Sage 2.11.alpha0