5.8 Binary bit-wise operations
Each of the three bitwise operations has a different priority level:
-
The & operator yields the bitwise AND of its arguments, which
must be plain or long integers. The arguments are converted to a
common type.
The ^ operator yields the bitwise XOR (exclusive OR) of its
arguments, which must be plain or long integers. The arguments are
converted to a common type.
The | operator yields the bitwise (inclusive) OR of its
arguments, which must be plain or long integers. The arguments are
converted to a common type.
Release 2.4.5, documentation updated on 18 October 2006.
See About this document... for information on suggesting changes.
|