Add a warning about associativity.
[scilab.git] / scilab / modules / core / help / en_US / 1_keywords / hat.xml
index bd12388..3d27413 100644 (file)
@@ -7,7 +7,7 @@
  * This source file is licensed as described in the file COPYING, which
  * you should have received as part of this distribution.  The terms
  * are also available at    
- * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
  *
  -->
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="hat">
                 <literal>x2</literal> the value of  <literal>x1^x2</literal> is the "principal value"
                 determined by <literal>x1^x2 = exp(x2*log(x1))</literal>.
             </para>
+            <para>
+                <warning>
+                    Exponentiation is right-associative in Scilab contrarily to Matlab&#174; and Octave. For example 2^3^4 is equal to 2^(3^4) in Scilab but is equal to (2^3)^4 in Matlab&#174; and Octave.
+                </warning>
+            </para>
         </refsection>
     </refsection>
     <refsection>