HomeManualTopicsTypesSymbols

std::bit_xor

bitwise exclusive or operation

Parameters

left
the left operand
right
the right operand

Result

xor
the bitwise exclusive or of left and right

Description

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

Topic

Numbers

See also

std::bit_and bitwise and operation
std::bit_or bitwise inclusive or operation
std::shift_left bitwise shift-left operation
std::shift_right bitwise shift-right operation

Implemented by

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