File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -1007,16 +1007,23 @@ repeat('Pg', 4) <returnvalue>PgPgPgPg</returnvalue>
1007
1007
<returnvalue>double precision</returnvalue>
1008
1008
</para>
1009
1009
<para>
1010
- Exponentiation (unlike typical mathematical practice, multiple uses of
1011
- <literal>^</literal> will associate left to right)
1010
+ Exponentiation
1012
1011
</para>
1013
1012
<para>
1014
1013
<literal>2 ^ 3</literal>
1015
1014
<returnvalue>8</returnvalue>
1016
1015
</para>
1016
+ <para>
1017
+ Unlike typical mathematical practice, multiple uses of
1018
+ <literal>^</literal> will associate left to right by default:
1019
+ </para>
1017
1020
<para>
1018
1021
<literal>2 ^ 3 ^ 3</literal>
1019
1022
<returnvalue>512</returnvalue>
1023
+ </para>
1024
+ <para>
1025
+ <literal>2 ^ (3 ^ 3)</literal>
1026
+ <returnvalue>134217728</returnvalue>
1020
1027
</para></entry>
1021
1028
</row>
1022
1029
You can’t perform that action at this time.
0 commit comments