src/bitvector.c
/*  Boolean OR of two bit vectors.  The result replaces the first vector.  */
Boolean OR of two bit vectors.  The result replaces the first vector.
Boolean OR of two bit vectors . The result replaces the first vector .
void
or_bits (bit_vector *b, const bit_vector *c)
{
    int num_words = NUM_WORDS(b->num_bits);
    int i;
    assert(b->num_bits == c->num_bits);
    for (i = 0; i < num_words; i++) {
        b->bits[i] = (b->bits[i] | c->bits[i]);
    }
}
void or_bits ( bit_vector * b , const bit_vector * c ) { int num_words = NUM_WORDS ( b -> num_bits ) ; int i ; assert ( b -> num_bits == c -> num_bits ) ; for ( i = 0 ; i < num_words ; i ++ ) { b -> bits [ i ] = ( b -> bits [ i ] | c -> bits [ i ] ) ; } }
Boolean OR of two bit vectors.
Boolean OR of two bit vectors .