This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients alanmcintyre, bins, christian.heimes, gvanrossum, inducer, jcea, loewis, mark.dickinson
Date 2010-05-11.13:39:44
SpamBayes Score 1.9077108e-08
Marked as misclassified No
Message-id <1273585185.98.0.0492901863881.issue1381@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2010-05-11 13:39:46mark.dickinsonsetrecipients: + mark.dickinson, gvanrossum, loewis, jcea, alanmcintyre, inducer, christian.heimes, bins
2010-05-11 13:39:45mark.dickinsonsetmessageid: <1273585185.98.0.0492901863881.issue1381@psf.upfronthosting.co.za>
2010-05-11 13:39:44mark.dickinsonlinkissue1381 messages
2010-05-11 13:39:44mark.dickinsoncreate