#16031: Zero-test of constant expressions involving cancellation
---------------------------+----------------------------
   Reporter:  mmezzarobba  |            Owner:
       Type:  defect       |           Status:  new
   Priority:  major        |        Milestone:  sage-6.2
  Component:  symbolics    |         Keywords:
  Merged in:               |          Authors:
  Reviewers:               |  Report Upstream:  N/A
Work issues:               |           Branch:
     Commit:               |     Dependencies:
   Stopgaps:               |
---------------------------+----------------------------
 {{{
 sage: expr = 1/(1/(1/(1/(1/(1/(1/(1/(1/(1/(1/(1/(1/(1/(1/(pi - 3) - 7) -
 15) - 1) - 292) - 1) - 1) - 1) - 2) - 1) - 3) - 1) - 14) - 2) - 1) - 1
 sage: expr.is_zero()
 ...
 RuntimeError: ECL says: Error executing code in Maxima: expt: undefined: 0
 to a negative exponent.
 sage: expr.normalize().is_zero()
 ...
 RuntimeError: ECL says: Error executing code in Maxima: expt: undefined: 0
 to a negative exponent.
 }}}

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

Reply via email to