#11613: RIF comparisons broken
---------------------------+------------------------------------------------
Reporter: eviatarbach | Owner: burcin
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.2
Component: symbolics | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
---------------------------+------------------------------------------------
Comment(by mhansen):
I think that this is invalid. Here is the relevant documentation:
{{{
Comparison operations (==,!=,<,<=,>,>=) return true if every value in
the first interval has the given relation to every value in the
second interval. The cmp(a, b) function works differently; it
compares two intervals lexicographically. (However, the behavior is
not specified if given a non-interval and an interval.)
}}}
So,
{{{
sage: RIF(3,4) == RIF(3,4)
False
sage: RIF(3,3) == RIF(3,3)
True
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11613#comment:1>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.