[scilab-Users] Atan function

Serge Steer Serge.Steer at inria.fr
Tue May 10 22:57:07 CEST 2011


Le 10/05/2011 21:18, Samuel GOUGEON a écrit :
>  Look at that:
>
> -->atan(0, 0)
>  ans  =
>     0.00000000D+00
>
> -->atan(0, -0)
>  ans  =
>     3.14159265D+00
>
> --> -0 == 0
>  ans  =
>   T
>
> :-(( Funny, isn't it ?!
This later result is really quite  funny, but the atan result is just 
due to the branch cut definition for that function

Serge



More information about the users mailing list