operand | what it does |
---|---|
<< | append (in context of strings, arrays, IO); shift position of bits in Bignum and Fixnum |
>> | shift position of bits in Bignum and Fixnum |
~ | bitwise NOT (high-presendence) |
& | bitwise AND (medium-presendence) |
| | bitwise OR (medium-presendence) |
^ | bitwise XOR (medium-presendence) |
** | exponent |
+ | addition |
– | subtraction |
* | multiplication |
/ | division |
% | modulo operator |