Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium

New issue 2008 by asmeurer: Inconsistencies for Pow**n and exp***n
http://code.google.com/p/sympy/issues/detail?id=2008

In [1]: exp(x)**2
Out[1]:
 2⋅x
ℯ

In [2]: (2**x)**2
Out[2]:
    2
⎛ x⎞
⎝2 ⎠

Since we want to eventually represent exp(x) as E**x internally anyway (see issue 1799), it's all the more reason to have this be consistent.

And fwiw, I personally don't care which one it does (though I suspect changing 2 to 1 would cause the least problems in existing code).

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-iss...@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