Re: Bitwise Operators....
They are used often for 'flags' in programs, in which a variable in a single byte must store multiple on/off switches (one for each bit).
Originally posted by o0obruceleeo0o
...and why they are of any importance.
Also, if you wish to use modulus on an even computer number (2^n,n=integer), then it is the same as using a bitwise AND, if you use the number one less than the modulus. Example:
n % 8 is equal to n & 7
n % 32 is equal to n & 31
There are tons of other reasons.