#20062: Make _floordiv_() return the Euclidean quotient for power series over
fields
-------------------------------------+-------------------------------------
Reporter: pbruin | Owner:
Type: task | Status: needs_review
Priority: minor | Milestone: sage-7.1
Component: algebra | Resolution:
Keywords: | Merged in:
Authors: Peter Bruin | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/pbruin/20062-PowerSeries_floordiv| 5e5748bdaf542f550aadd722d06925c668b473ab
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Old description:
> There exists a method `PowerSeries_poly.__floordiv__()`, but it is not
> clear how it differs from ordinary division (see
> comment:43:ticket:15601), or how it should differ mathematically.
>
> We replace this method by a new method `PowerSeries._floordiv_()`, which
> is a deprecated alias for `_div_()`.
New description:
There exists a method `PowerSeries_poly.__floordiv__()`, but it is not
clear how it differs from ordinary division (see comment:43:ticket:15601),
or how it should differ mathematically.
We replace this method by a new method `PowerSeries._floordiv_()`, which
returns the Euclidean quotient over fields and is a deprecated alias for
`_div_()` over other rings.
--
Comment (by pbruin):
The new comment implements a variant of your suggestion; I think the
message in the case of fields should be a normal warning (since the
behaviour changed), not a deprecation.
--
Ticket URL: <http://trac.sagemath.org/ticket/20062#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.