This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Numerical Computation / Number Representation /

BitOr

FilledSmallSquare BitOr[, , ... ] gives the bitwise OR of the integers .

FilledSmallSquare Integer mathematical function (see Section A.3.10).

FilledSmallSquare BitOr[, , ... ] yields the integer whose binary bit representation has ones at positions where the binary bit representations of any of the have ones.

FilledSmallSquare For negative integers BitOr assumes a two's complement representation.

FilledSmallSquare See Section 3.2.4.

FilledSmallSquare See also: BitAnd, BitXor, BitNot, Or, IntegerDigits, CellularAutomaton.

FilledSmallSquare New in Version 4.

Further Examples