#9480: Sage mixes Infinity and +Infinity
--------------------------------------+----------------------------
       Reporter:  zimmerma            |        Owner:  robertwb
           Type:  defect              |       Status:  needs_review
       Priority:  major               |    Milestone:  sage-5.12
      Component:  coercion            |   Resolution:
       Keywords:  infinity, equality  |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+----------------------------
Changes (by zimmerma):

 * status:  new => needs_review


Comment:

 in Sage 5.11 we get:
 {{{
 sage: l1=limit(1/x, x=0, dir='right'); l1
 +Infinity
 sage: l2=limit(1/x, x=0, dir='left'); l2
 -Infinity
 sage: l3=limit(1/x, x=0); l3
 Infinity
 sage: bool(l1==l2), bool(l2==l3), bool(l3==l1)
 (False, False, False)
 }}}
 however the objects returned are in SR and not in the {{{infinity}}}
 class:
 {{{
 sage: type(l1), l1.parent()
 (sage.symbolic.expression.Expression, Symbolic Ring)
 sage: p1=+Infinity
 sage: type(p1), p1.parent()
 (sage.rings.infinity.PlusInfinity, The Infinity Ring)
 }}}
 I propose to close that ticket, and open a new one about the above issue
 (or add it to an existing ticket).

 Paul

--
Ticket URL: <http://trac.sagemath.org/ticket/9480#comment:4>
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/groups/opt_out.

Reply via email to