Status: Accepted Owner: smichr Labels: Type-Defect Priority-Medium
New issue 1837 by smichr: 0**(x-2) becomes (oo)**(2-x) http://code.google.com/p/sympy/issues/detail?id=1837 It seems to me that if the base is 0 sympy should not extract a minus from the exponent and invert the base. It should just leave the exponent alone (as it does if oo is the base). And perhaps it would be better to make a base of oo become 0 by negating its exponent.
>>> from sympy import * var('x')
x
0**(2-x)
0**(2 - x)
0**(x-2)
(oo)**(2 - x)
oo**(x-2)
(oo)**(-2 + x) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- 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.
