Updates:
        Labels: -Priority-Medium Priority-Critical

Comment #5 on issue 3109 by smi...@gmail.com: sqrt(exp(4*a)) != exp(2*a)
http://code.google.com/p/sympy/issues/detail?id=3109

There are problems with how Pow.as_numer_denom works that leads to the following error:

    >>> print filldedent(str(m3))

    -1484/375 - 4*(-12459439/52734375 + 114*sqrt(12657)/78125)**(1/3) -
    172564/(140625*(-12459439/52734375 + 114*sqrt(12657)/78125)**(1/3))
    >>> sqrt(m3).n()
    0.221187120060844 + 2.51253478736008*I
    >>> n,d=sqrt(m3).as_numer_denom()
    >>> (n/d).n()
    -0.221187120060844 - 2.51253478736008*I

This has also been fixed in https://github.com/sympy/sympy/pull/1105

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