Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b8ac009

Browse files
committed
Fix the operator precedence table: exponentiation binds tighter than
negation. This closes SF bug #421999.
1 parent 251ebe7 commit b8ac009

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/ref/ref5.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -939,11 +939,11 @@ \section{Summary\label{summary}}
939939
\hline
940940
\lineii{\code{*}, \code{/}, \code{\%}}
941941
{Multiplication, division, remainder}
942-
\hline
943-
\lineii{\code{**}} {Exponentiation}
944942
\hline
945943
\lineii{\code{+\var{x}}, \code{-\var{x}}} {Positive, negative}
946944
\lineii{\code{\~\var{x}}} {Bitwise not}
945+
\hline
946+
\lineii{\code{**}} {Exponentiation}
947947
\hline
948948
\lineii{\code{\var{x}.\var{attribute}}} {Attribute reference}
949949
\lineii{\code{\var{x}[\var{index}]}} {Subscription}

0 commit comments

Comments
 (0)