Serhiy Storchaka added the comment: sgn(x) is the same as copysign(1.0, x).
The math module doesn't support complex numbers and shouldn't. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue27739> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
