Comment #3 on issue 2322 by [email protected]: is_real problems with
(pi/log(real))
http://code.google.com/p/sympy/issues/detail?id=2322
The old-style assumptions are working now:
>>> var('r', real=True)
r
>>> (pi/log(r)).is_real
>>> (pi/log(r)).subs(r,-2).is_real
>>> (pi/log(r)).subs(r,-2).n().is_real
False
>>> ask(pi/log(r), Q.real)
>>> ask((pi/log(r)).subs(r,-2), Q.real)
>>> ask((pi/log(r)).subs(r,-2).n(), Q.real) # why didn't this return
False?
make the expression simpler:
>>> ask(3+I,Q.real)
>>>
Why not answer False?
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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/sympy-issues?hl=en.