HomeManualTopicsTypesSymbols

std::bit_and

bitwise and operation

Parameters

left
the left operand
right
the right operand

Result

and
the bitwise and of left and right

Description

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

Topic

Numbers

See also

std::bit_or bitwise inclusive or 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 *and* operation
std_types::positive_integer returns the bit-wise AND of the two arguments
std_types::uint16_array implements the *and* operation
std_types::uint32_array implements the *and* operation
std_types::uint64_array implements the *and* operation
std_types::uint8_array implements the *and* operation