Message105512
| 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? |
|