atanh(2) changed from 5.5.2 to 6.0: intentional?

classic Classic list List threaded Threaded
1 message Options
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

atanh(2) changed from 5.5.2 to 6.0: intentional?

Hello,

In Scilab 4.0, ... 5.1.1, ... 5.5.2, we get:
--> atanh([-2 2]')
 ans  =
  - 0.5493061 + 1.5707963i
    0.5493061 - 1.5707963i

In Scilab 6.0.x :
--> atanh([-2 2]')
 ans  =
  -0.5493061 + 1.5707963i
   0.5493061 + 1.5707963i

It is also the Octave 5.1.0 answer.

Is this change intentional?
If yes, the m2sci converter will have to be updated.

Regards

Samuel

PS: with Matlab 2016:
>> atanh([-2 2]')
ans =
  -0.5493 - 1.5708i
   0.5493 + 1.5708i



_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev