Bitwise Operator Support
The following functions have been added to Ingres II 2.5 to provide support for bitwise operations:
bit_add
Logical "add" of two byte operands
bit_and
Logical "and" of two byte operands
bit_not
Logical "not" of a single byte operand
bit_or
Logical "or" of two byte operands
bit_xor
Logical "exclusive or" of two byte operands
All operations proceed right to left. The shorter of two operands is padded with binary zeroes on the left. The result is a byte field equal in size to the longer operand.