Some bitwise stuff

Is there a way to always flip a bit to false?

For example, if I had A = 4, B = 8, to always flip the 4th bit to true, is this:
A |= B;

Whereas I'm currently using to flip to false.
if( A & B )
A ^= B;
A &= ~B;
Topic archived. No new replies allowed.