bitwise and : Bitwise Operations « Language Basics « Ruby






bitwise and


1011 & 1010 # bitwise and => 1010

 








Related examples in the same category

1.do bitwise operations in Ruby.
2.bitwise not or complement
3.bitwise or
4.bitwise exclusive or