#8237: Sage does not recognize Maxima's complex ininity
----------------------------+-----------------------------------------------
   Reporter:  robert.marik  |       Owner:  burcin
       Type:  defect        |      Status:  new   
   Priority:  major         |   Milestone:        
  Component:  symbolics     |    Keywords:        
     Author:                |    Upstream:  N/A   
   Reviewer:                |      Merged:        
Work_issues:                |  
----------------------------+-----------------------------------------------
 As subject says:
 {{{
 sage: maxima('inf').sage()
 +Infinity
 sage: maxima('infinity').sage()
 +Infinity
 }}}

 From Maxima manual
 {{{
 Constant: inf
     inf represents real positive infinity.

 Constant: infinity
     infinity represents complex infinity.

 Constant: minf
     minf represents real minus (i.e., negative) infinity.
 }}}
 As a cosequence, Sage fails to evaluate limit of 1/x at x=0. Maxima gives
 correct result (complex infinity)
 {{{
 sage: maxima('limit(1/x,x,0)')
 infinity
 sage: maxima('limit(1/x,x,0)').sage()
 +Infinity
 sage: limit(1/x,x=0)
 +Infinity
 sage: maxima('limit(1/x,x,0,plus)')
 inf
 sage: maxima('limit(1/x,x,0,plus)').sage()
 +Infinity
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8237>
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.

Reply via email to