New submission from 夏熙临:

When I was using cmath.atanh, I found that this function generates wrong output.

For example:

>>> import cmath
>>> cmath.atanh(-1.89)
(-0.5888951591901462+1.5707963267948966j)

However, the correct output should be:
(-0.5888951591901462-1.5707963267948966j)

Clearly, the sign of the imaginary part is wrong.

----------
components: Library (Lib)
messages: 236636
nosy: 夏熙临
priority: normal
severity: normal
status: open
title: cmath.atanh has wrong output
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23523>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to