Positron Compiler Documentation

Logical operators

Positron8 · Revision 4.0.6.5 · PDF page 79
Bitwise and '&'Returns the logical AND of two values.
Bitwise or '|'Returns the logical OR of two values.
Bitwise xor '^'Returns the logical XOR of two values.
Bitwise Shift Left '<<'Shifts the bits of a value left a specified number of places.
Bitwise Shift Right '>>'Shifts the bits of a value right a specified number of places.
Bitwise Complement '~'Reverses the bits in a variable.
Bitwise Reverse '@'Reverses the order of the lowest bits in a value.
View original PDF page 79Open page in PDFOriginal PDF page 79

Topics