Home
Manual
Topics
Types
Symbols
std_types::positive_integer/std::bit_and
returns the bit-wise AND of the two arguments
Parameters
left: a positive integer value
right: a positive integer value
Result
result: the bit-wise AND of the two arguments
Example
println! 6 & 3
Output
2
Topic
Numbers
Implements
std::bit_and
bitwise and 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