[Scilab-Dev] atanh(2) changed from 5.5.2 to 6.0: intentional?

Samuel Gougeon sgougeon at free.fr
Sun Mar 10 00:58:41 CET 2019


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20190310/e59de392/attachment.htm>


More information about the dev mailing list