2 ms·
It wouldn't be the same thing. For instance x & 0b11 != 0 can return true for multiple values of x, 0b10 and 0b01 respectively.
by sedatk 10y ago
It wouldn't be the same thing. For instance x & 0b11 != 0 can return true for multiple values of x, 0b10 and 0b01 respectively.
- vog 10y agoI see. You are sometimes checking for multiple bits at once. Didn't notice that.