Skip to content

Instantly share code, notes, and snippets.

@aktech
Last active August 29, 2015 14:24
Show Gist options
  • Save aktech/27df0fc1b088cc34c66e to your computer and use it in GitHub Desktop.
Save aktech/27df0fc1b088cc34c66e to your computer and use it in GitHub Desktop.
debug.py
from sympy import *
print atan2(0, sqrt(sqrt(-I)*(1 + I)))
# from sympy import *
# from sympy.abc import n
# f = -I*(I*(2*pi*n - pi/4) + log(sqrt(sqrt(2)*sqrt(-I)/2 + sqrt(2)*I*sqrt(-I)/2)))
# re, im = f.as_real_imag()
# print re
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment