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

New issue 3162 by asmeu...@gmail.com: Wrong result from as_real_imag
http://code.google.com/p/sympy/issues/detail?id=3162

In [67]: z = Symbol('z')

In [68]: w1 = sqrt((z + 2)/(z - 2))

In [69]: w1.as_real_imag()
Out[69]:
⎛    _______   ⎞
⎜   ╱ z + 2    ⎟
⎜  ╱  ───── , 0⎟
⎝╲╱   z - 2    ⎠

But clearly this expression is not always real, even for real z (take z = 0 for example).

--
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