|
SOLUTIONS
|
Mathematica
>
Mathematics and Algorithms
>
Discrete Mathematics
>
Boolean Computation
>
Bitwise Operations
>
BitOr
BUILT-IN MATHEMATICA SYMBOL
BitOr
BitOr[n1, n2, ...]
gives the bitwise OR of the integers
.
DetailsDetails
- Integer mathematical function, suitable for both symbolic and numerical manipulation.
- BitOr[n1, n2, ...] yields the integer whose binary bit representation has ones at positions where the binary bit representations of any of the
have ones. - For negative integers BitOr assumes a two's complement representation.
- BitOr automatically threads over lists.
New in 4
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
