expr1 & expr2 |
Returns the result of bitwise AND of `expr1` and `expr2`. |
base << exp |
Bitwise left shift. |
base >> expr |
Bitwise (signed) right shift. |
base >>> expr |
Bitwise unsigned right shift. |
expr1 ^ expr2 |
Returns the result of bitwise exclusive OR of `expr1` and `expr2`. |
bit_count(expr) |
Returns the number of bits that are set in the argument expr as an unsigned 64-bit integer, or NULL if the argument is NULL. |
bit_get(expr, pos) |
Returns the value of the bit (0 or 1) at the specified position.
The positions are numbered from right to left, starting at zero.
The position argument cannot be negative. |
getbit(expr, pos) |
Returns the value of the bit (0 or 1) at the specified position.
The positions are numbered from right to left, starting at zero.
The position argument cannot be negative. |
expr1 | expr2 |
Returns the result of bitwise OR of `expr1` and `expr2`. |
~ expr |
Returns the result of bitwise NOT of `expr`. |