Computing bit parity