Jean Brouwers <[EMAIL PROTECTED]> added the comment: What about this case? Should cmath not produce the same result as math:
>>> math.log(float('-inf')) Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: math domain error >>> cmath.log(float('-inf')) (inf+3.1415926535897931j) >>> cmath.log(complex(float('-inf'), 0)) (inf+3.1415926535897931j) This occurs in all 32- and 64-bit builds (with -xlibmieee and SUN C) on Solaris 10 (Opteron) and on 32-bit MacOS X 10.4.11 (Intel) built with gcc. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3167> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com