binary_or()
Returns a result of the bitwise or
operation of the two values.
binary_or(x,y)
Syntax
binary_or(
num1,
num2 )
Arguments
- num1, num2: long numbers.
Returns
Returns logical OR operation on a pair of numbers: num1 | num2.
Example 1
print binary_or(0xAFFFF00B,0xCFFFFFFD)
Results
print_0 |
---|
4026531839 |
Example 2
print binary_or(4294967295,4294967595)
Results
print_0 |
---|
8589934591 |