[issue1381] cmath is numerically unsound

Mark Dickinson report at bugs.python.org
Tue May 11 16:11:49 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

> Note that in your program, you're feeding complex(-0.0, -2.0) to asinh,
> not complex(0.0, 2.0).

Bah;  that should be complex(0.0, -2.0) in the second line, of course.

Anyway, try passing conj(2*I) to asinh in your C program and see what happens.  :)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1381>
_______________________________________


More information about the Python-bugs-list mailing list