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 thor222
Recipients thor222
Date 2008-10-17.15:16:04
SpamBayes Score 2.614335e-05
Marked as misclassified No
Message-id <1224256565.24.0.380974841882.issue4139@psf.upfronthosting.co.za>
In-reply-to
Content
There's an error in the way cmath computes the inverse sine, cosine and
tangent functions.

Example:
In 2.6: cmath.asin(2) returns 1.5707963267948966+1.3169578969248166j
However, the answer should be 1.5707963267948966-1.3169578969248166j
cmath.asin(2) returns the correct answer in 2.5.2.

Same problem exists in cmath.acos:
In 2.6: cmath.acos(2) = -1.3169578969248164j, but should be
1.3169578969248164j (once again, 2.5.2 returns the correct answer).

However, in 2.5.2 and 2.6, cmath.asin(1j) = 0.88137358701954283j, which
is correct.
History
Date User Action Args
2008-10-17 15:16:05thor222setrecipients: + thor222
2008-10-17 15:16:05thor222setmessageid: <1224256565.24.0.380974841882.issue4139@psf.upfronthosting.co.za>
2008-10-17 15:16:04thor222linkissue4139 messages
2008-10-17 15:16:04thor222create