Previous: , Up: Expressions   [Contents][Index]


7.8 Operator Precedence

The following table describes operator precedence. Smaller-numbered levels in the table have higher precedence. Within a level, operations are always performed from left to right. The first occurrence of ‘-’ represents unary negation, the second binary subtraction.

  1. ( )
  2. **
  3. -
  4. * /
  5. + -
  6. EQ GE GT LE LT NE
  7. AND NOT OR