Skip to content

bug in LaurentPolynomial_univariate.quo_rem #34330

@mantepse

Description

@mantepse

We currently doctest

def quo_rem(self, right_r):
...
            sage: (t^-2 + 3 + t).quo_rem(t^-4 + t)
            (0, 1 + 3*t^2 + t^3)

I think we want

sage: q, r = num.quo_rem(den)
sage: num == den * q + r
True

Component: algebra

Author: Martin Rubey

Branch/Commit: 8798139

Reviewer: Dave Morris, Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/34330

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions