Add a warning about associativity.
[scilab.git] / scilab / modules / core / help / en_US / 1_keywords / power.xml
index 59ea002..b2442bc 100644 (file)
         <para>
             6. <literal>**</literal> and <literal>^</literal> operators are synonyms.
         </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>
         <title>Examples</title>