| Operators |
Association |
Description |
| (unary)- |
left to right |
inverts the sign |
| * / MOD |
left to right |
multiplicate, divide, or compute modulo, respectively |
| + - |
left to right |
add or subtract, respectively |
| = |
left to right |
return true(-1) if the left value is equal to the right, otherwise false(0) |
| >< |
left to right |
return true(-1) if the left value is not equal to the right, otherwise false(0) |
| < |
left to right |
return true(-1) if the left value is less than the right, otherwise false(0) |
| > |
left to right |
return true(-1) if the left value is greater than the right, otherwise false(0) |
| <= |
left to right |
return true(-1) if the left value is less than or equal to the right, otherwise false(0) |
| >= |
left to right |
return true(-1) if the left value is greater than or equal to the right, otherwise false(0) |
| NOT |
left to right |
return true(-1) if the given value is false(0), otherwise false(0) |
| AND |
left to right |
logical product: return true(-1) if the both value are true, otherwise false(0) |
| OR |
left to right |
logical sum: return false(0) if the both value are false, otherwise true(-1) |