/
bitwise_or
bitwise_or
Description
Takes two numbers as operands and does OR on every bit of two numbers. The result of OR is 1 if any of the two bits is 1.
Parameters
Return Type
Integer
The result of the bitwise operation.
Example
use "bitwise";
int result = b_or(int1, int2);
//------------or-----
//no package needed
int result = bitwise_or(int1, int2);
See also
Peacock
, multiple selections available,
Related content
bitwise_or
bitwise_or
More like this
bitwise_and
bitwise_and
More like this
bitwise_and
bitwise_and
More like this
bitwise_and
bitwise_and
More like this
bitwise_lshift
bitwise_lshift
More like this
bitwise_lshift
bitwise_lshift
More like this