#18630: Expression.is_positive/negative incomplete
-------------------------+-------------------------------------------------
   Reporter:  rws        |            Owner:
       Type:  defect     |           Status:  new
   Priority:  major      |        Milestone:  sage-6.8
  Component:  symbolics  |         Keywords:
  Merged in:             |          Authors:
  Reviewers:             |  Report Upstream:  Not yet reported upstream;
Work issues:             |  Will do shortly.
     Commit:             |           Branch:
   Stopgaps:             |     Dependencies:
-------------------------+-------------------------------------------------
 The two functions that query Pynac expressions' `info::flags` only work
 with `numeric`s and `symbol`s with domain. The rest simply returns
 `False`:
 {{{
 sage: (1-pi).is_negative()
 False
 sage: (log(1/2)).is_negative()
 False
 sage: e.is_positive()
 False
 sage: (e+1).is_positive()
 False
 sage: (2*e).is_positive()
 False
 sage: (e^3).is_positive()
 False
 }}}

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