Comment #1 on issue 2327 by asmeurer: sqrt(I) should return sqrt(2)/2 +
sqrt(2)/2*I by default
http://code.google.com/p/sympy/issues/detail?id=2327
It seems like this should happen automatically too:
In [45]: 1/(-sqrt(2)/2 - sqrt(2)/2*I)
Out[45]:
1
─────────────────
⎽⎽⎽ ⎽⎽⎽
╲╱ 2 ⅈ⋅╲╱ 2
- ───── - ───────
2 2
In [47]: (1/(-sqrt(2)/2 - sqrt(2)/2*I)).expand(complex=True)
Out[47]:
⎽⎽⎽ ⎽⎽⎽
╲╱ 2 ⅈ⋅╲╱ 2
- ───── + ───────
2 2
--
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.