bitwise or : Bitwise Operations « Language Basics « Ruby






bitwise or


1011 | 1010 # bitwise or => 1011

 








Related examples in the same category

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