Bitwise operators
Onyx has the following binary bitwise operators:
Operator | Use | Works on |
---|---|---|
& | Bitwise-And | integers |
` | ` | Bitwise-Or |
^ | Bitwise-Xor | integers |
<< | Bit shift left | integers |
>> | Bit shift right (logical) | integers |
>>> | Bit shift right (arithmetic) | integers |
Onyx has the following unary bitwise operators:
Operator | Use | Works on |
---|---|---|
~ | Bitwise-Negate | integers |