[New-bugs-announce] [issue23523] cmath.atanh has wrong output

夏熙临 report at bugs.python.org
Thu Feb 26 01:23:35 CET 2015


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 <report at bugs.python.org>
<http://bugs.python.org/issue23523>
_______________________________________


More information about the New-bugs-announce mailing list