Integer Operators
The following operators on integers are supported in XJEase:
| Bit operators | |
|---|---|
| [] | Bit selection |
| : | Concatenation |
| WIDTHOF | Expression width |
| Arithmetic operators | |
| + | Add |
| - | Subtract |
| * | Multiply |
| / | Divide |
| % | Modulus |
| Comparison operators | |
| < | Less than |
| <= | Less than or equal |
| >= | Greater than or equal |
| > | Greater than |
| = | Equal to |
| != | Not equal to |
| Bitwise operators | |
| ~ | Bitwise complement |
| << | Shift left |
| >> | Shift right |
| & | Bitwise AND |
| | | Bitwise OR |
| ^ | Bitwise XOR |
| Boolean operators | |
| ! | Logical NOT |
| && | Logical AND |
| &&? | Short Circuiting Logical AND |
| || | Logical OR |
| ||? | Short Circuiting Logical OR |
XJTAG v4.2.5
