HomeManualTopicsTypesSymbols

std_types::positive_integer/std::bit_xor

returns the bit-wise exclusive OR of the two arguments

Parameters

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

Result

result: the bit-wise XOR of the two arguments

Example

println! 6 ^ 10

Output

12

Topic

Numbers

Implements

std::bit_xor bitwise exclusive 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