minor bug in cmath.asin?

Erik Max Francis max at alcyone.com
Sat Apr 3 17:46:50 EST 2004


Edwin Young wrote:

> I think it should be 0+0j (+0 for both parts). The official formula is
> at
> 
> http://functions.wolfram.com/ElementaryFunctions/ArcSin/02/

Well this is Mathematica's official formula ... :-).

> and is asin(z) = -i * log(i*z + sqrt(1 - z*z))
> 
> Which is slightly ambiguous. I read it as:
> 
> (+0 - 1i) * log(i*z + sqrt(1 - z*z))

How is the original equation amiguous?

-- 
 __ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/  \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ You cannot step into the same river once.
    -- Cratylus



More information about the Python-list mailing list