HomeManualTopicsTypesSymbols

std::bit_or

bitwise inclusive or operation

Parameters

left
the left operand
right
the right operand

Result

or
the bitwise or of left and right

Description

The two operands (both must be positive integers of any size) are combined bit for bit using an inclusive-or-operation.

Topic

Numbers

See also

std::bit_and bitwise and operation
std::bit_xor bitwise exclusive or operation
std::shift_left bitwise shift-left operation
std::shift_right bitwise shift-right operation

Implemented by

std_types::boolean_array implements the *or* operation
std_types::positive_integer returns the bit-wise OR of the two arguments
std_types::uint16_array implements the *or* operation
std_types::uint32_array implements the *or* operation
std_types::uint64_array implements the *or* operation
std_types::uint8_array implements the *or* operation