Mark Dickinson <dicki...@gmail.com> added the comment:

Python's result looks fine to me, as does numpy's: they're both giving a valid 
inverse hyperbolic sine:

>>> from cmath import sinh
>>> sinh(1.3169578969248166-1.5707963267948966j)  
(1.0605752387249067e-16-1.9999999999999998j)
>>> sinh(-1.3169578969248164-1.5707963267948966j)
(-1.0605752387249064e-16-1.9999999999999993j)

Perhaps numpy is using different branch cuts?

----------

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

Reply via email to