User Tools

Site Tools


en:bitwiseoperators

Bitwise Operators

Bitwise operators only work with long integer values (since 1.99.99.19) in the range of −2,147,483,648 to 2,147,483,647. Any attempt to use a number outside this range will produce, warnings, error, and/or unexpected results.

Bitwise Operators
OperatorNameExampleComments
~Bitwide Negation~a
&Bitwise Conjunctiona & bIf one or both values are strings the ampersand operator will concatenate the strings into a single string.3
|Bitwise Disjunctiona | bReturns the bits of integer a or integer b.
en/bitwiseoperators.txt · Last modified: 2020/02/28 10:46 (external edit)