Comment #19 on issue 1985 by smichr: as_real_imag() gives wrong answer when expanding quotient
http://code.google.com/p/sympy/issues/detail?id=1985

re and im are the simplistic functions and as_real_imag the smart one(s) as it says in the docstring:

'''Performs complex expansion on 'self' and returns a tuple
containing collected both real and imaginary parts. This
method can't be confused with re() and im() functions,
which does not perform complex expansion at evaluation.'''

So I believe the result of comment 1 is the correct one and as_real_imag shouldn't be deprecated. In any case, the fix of 1725 is still available and it gives the result of 1 as shown in comment 8. I'll be working more on t2 this coming week during break.


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