- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 684
Closed
Milestone
Description
The two functions that query Pynac expressions' info::flags only work with numerics and symbols 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.
Depends on #24497
Component: symbolics
Author: Ralf Stephan
Branch/Commit: 8e446e6
Reviewer: Peleg Michaeli, Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/18630