Functions for bitwise operations on integer vectors
