Then again, when I think of all the things for which I use bitmasking none of them would make a good example and many also rely on implementation details. Maybe I should pick nits out of someone...
Type: Posts; User: Sean4u
Then again, when I think of all the things for which I use bitmasking none of them would make a good example and many also rely on implementation details. Maybe I should pick nits out of someone...
Is it 'use implementation detail week'? :D
Checking the LSB for negative numbers relies on ints being represented that way. An even number is a number for which there's no remainder after division...