#18630: Expression.is_positive/negative incomplete
-------------------------------------------------+-------------------------
Reporter: rws | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.8
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: Reported upstream. Developers | Work issues:
acknowledge bug. | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Changes (by rws):
* dependencies: pynac-0.3.9.1 =>
* upstream: Fixed upstream, but not in a stable release. => Reported
upstream. Developers acknowledge bug.
Old description:
> 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
> }}}
New description:
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
}}}
UPDATE: everything above but the first works now.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/18630#comment:3>
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.