HomeManualTopicsTypesSymbols

std_types::positive_integer/std::bit_or

returns the bit-wise OR of the two arguments

Parameters

left: a positive integer value
right: a positive integer value

Result

result: the bit-wise OR of the two arguments

Example

println! 6 | 10

Output

14

Topic

Numbers

Implements

std::bit_or bitwise inclusive or operation

See also

std_types::integer the prototype object for all integral numbers
std_types::positive_integer the prototype object for all non-negative integers