File tree 1 file changed +9
-2
lines changed 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -988,16 +988,23 @@ repeat('Pg', 4) <returnvalue>PgPgPgPg</returnvalue>
988
988
<returnvalue>double precision</returnvalue>
989
989
</para>
990
990
<para>
991
- Exponentiation (unlike typical mathematical practice, multiple uses of
992
- <literal>^</literal> will associate left to right)
991
+ Exponentiation
993
992
</para>
994
993
<para>
995
994
<literal>2 ^ 3</literal>
996
995
<returnvalue>8</returnvalue>
997
996
</para>
997
+ <para>
998
+ Unlike typical mathematical practice, multiple uses of
999
+ <literal>^</literal> will associate left to right by default:
1000
+ </para>
998
1001
<para>
999
1002
<literal>2 ^ 3 ^ 3</literal>
1000
1003
<returnvalue>512</returnvalue>
1004
+ </para>
1005
+ <para>
1006
+ <literal>2 ^ (3 ^ 3)</literal>
1007
+ <returnvalue>134217728</returnvalue>
1001
1008
</para></entry>
1002
1009
</row>
1003
1010
You can’t perform that action at this time.
0 commit comments