Message74917
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. |
|
Date |
User |
Action |
Args |
2008-10-17 15:16:05 | thor222 | set | recipients:
+ thor222 |
2008-10-17 15:16:05 | thor222 | set | messageid: <1224256565.24.0.380974841882.issue4139@psf.upfronthosting.co.za> |
2008-10-17 15:16:04 | thor222 | link | issue4139 messages |
2008-10-17 15:16:04 | thor222 | create | |
|