<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>In Scilab 4.0, ... 5.1.1, ... 5.5.2, we get:<font face="Arial"><br>
</font><tt>--> atanh([-2 2]')</tt><tt><br>
</tt><tt> ans =</tt><tt><br>
</tt><tt> - 0.5493061 + 1.5707963i</tt><tt><br>
</tt><tt> 0.5493061 - 1.5707963i</tt><font face="Arial"><br>
<br>
</font>In Scilab 6.0.x :<font face="Arial"><br>
</font><tt>--> atanh([-2 2]')</tt><tt><br>
</tt><tt> ans =</tt><tt><br>
</tt><tt> -0.5493061 + 1.5707963i</tt><tt><br>
</tt><tt> 0.5493061 <font color="#cc33cc" size="+2">+</font>
1.5707963i</tt><font face="Arial"><br>
<br>
</font>It is also the Octave 5.1.0 answer.</p>
<p>Is this change intentional?<br>
If yes, the m2sci converter will have to be updated.</p>
<p>Regards</p>
<p>Samuel</p>
<p>PS: with Matlab 2016:<br>
>> atanh([-2 2]')<br>
ans =<br>
-0.5493 - 1.5708i<br>
0.5493 + 1.5708i</p>
<p><br>
</p>
</body>
</html>