Note:
BINOPERATOR module contains some bitwise functions.
~bwor()
Returns a bit to bit boolean OR between all arguments.Example :
~bwor(4,3,8) that is to say 4 | 3 | 8 => 15
~bwand()
Returns a bit to bit boolean AND between all arguments.Example :
~bwand(6,2,3) that is to say 6 & 2 & 3 => 2
~bwxor()
Returns a bit to bit boolean XOR between all arguments.Example :
~bwxor(6,2,3) that is to say 6 ^ 2 ^ 3 => 7
~bwnot()
Returns a boolean NOT of the argument.Example :
~bwnot(1) => -2