Comment #1 on issue 2857 by smi...@gmail.com: sqrt(2).is_irrational is None (should be True)
http://code.google.com/p/sympy/issues/detail?id=2857

ok, the Pow.is_irrational is in place (if the pull request, https://github.com/sympy/sympy/pull/724 , gets processed) so that will allow someone to write the routine for Add and Mul:

These represent types of expressions that should be classified as irrational:

root(2,2)*root(root(3,3),2)
sqrt(2)*3**(1/6)
root(2,2)+root(root(3,3),2)
3**(1/6) + sqrt(2)

whereas the XFAILed test in the pull request and something like this

sqrt(2) + (-2610*sqrt(2) + 3707)**(1/6) # == 3

should not be classified as irrational.



--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to