~ Office Supplies ~~ Buy Posters ~~ A-Z Products ~~ Website Advertising


Binary and - Wikipedia

<<Up     Contents

Binary and

If two conditions are combined by and, they must both be true for the compound condition to be true as well.

Likeliwise, two bits may be combined with and:

 x  y  x AND y
 0  0  0
 0  1  0
 1  0  0
 1  1  1

I.e. the result is 1, if both x and y are 1, and 0 otherwise. If 0 is equated with true, and 1 with false the bit and operation works like our logical and.

Binary and can work on binary numbers of any size, the numbers are simply anded digit by digit. For example:

       x:  10001101
       y:  01010111
 x AND y:  00000101

(Only in the first, and third column from the left, both operands had 1 digits.)

and is often called masking, because y can be seen as a mask which is transparent (1) in some places (x will shine through), and black (0) in others (x will be blocked).

wikipedia.org dumped 2003-03-17 with terodump




 
 
7 grams reddish pink maroon UNAKITE cabbing tumbled polished rough jewelry gemstones 38 carat Lovely
 7 grams reddish pink maroon UNAKITE cabbing tumbled polished jewelry 38 carat Lovely 
 
6 carat Golden canary yellow SCAPOLITE gem stone Facet rough gemstone Faceting gems jewel crystal 3
 6 carat Golden canary yellow SCAPOLITE ing jewel crystal 3 
 
Light green butter new jade Serpentine gem stone polished faceted Briolette stringing bead single
 Light green butter new jade Serpentine polished ed Briolette stringing bead single 
 
7 carat RARE yellow orange CLINOHUMITE gem stone crystal cabbing lapidary cabochon rough 1 gram B
 7 carat RARE yellow orange CLINOHUMITE crystal cabbing lapidary cabochon 1 gram B 
 
24 carat blue green Amazonite rough gemstone tumble polished nugget drilled necklace bead Nice 4 gr
 24 carat blue green Amazonite tumble polished nugget drilled necklace bead Nice 4 gr