#18633: Polynomial comparison inconsistent for constant polynomials
-----------------------------+------------------------
Reporter: rws | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.8
Component: numerical | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-----------------------------+------------------------
Description changed by jdemeyer:
Old description:
> Something is seriously wrong.
> {{{
> # ../local/include/python2.7/object.h:#define Py_LT 0
>
> sage: R.<x>=PolynomialRing(RR)
> sage: R(-2.22562705941257)._richcmp_(R(0),0)
> False
> sage: (-2.22562705941257)._richcmp_(RR(0),0)
> True
> }}}
> That cost me days of Pynac debugging (of all things)...
New description:
Something is seriously wrong.
{{{
sage: R.<x> = PolynomialRing(RR)
sage: RR(-1) < RR(0)
True
sage: R(-1) < R(0)
False
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/18633#comment:2>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.