[New-bugs-announce] [issue22544] Inconsistent cmath.log behaviour

Antoine Pitrou report at bugs.python.org
Fri Oct 3 09:18:17 CEST 2014


New submission from Antoine Pitrou:

>>> inf = float('inf')
>>> z = complex(-0.0, -inf)
>>> cmath.log(z)
(inf-1.5707963267948966j)
>>> cmath.log10(z)
(inf-0.6821881769209206j)
>>> cmath.log(z, 10)
(inf+nan*j)

----------
components: Library (Lib)
messages: 228307
nosy: eric.smith, lemburg, mark.dickinson, pitrou, stutzbach
priority: low
severity: normal
status: open
title: Inconsistent cmath.log behaviour
type: behavior
versions: Python 3.4, Python 3.5

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


More information about the New-bugs-announce mailing list