Changes

Ruby Operators

1 byte removed, 12:42, 1 December 2007
Ruby Bitwise Operators
Bitwise operators allow operations to be performed on number at the bit level. As you are probably already aware, computers deal solely with binary (in other words ones and zeros). For example, the computer sees the number 520 as 01010.
The Ruby bitwise operators allow us to operate and at the level of the ones and zeros that make up a number:
<table border="1" cellspacing="0">