 |
|
| |
|
 |
 |
at Global Oneness Community.
Share your dreams and let others help you with the interpretation!
Dream Sharing Forum
|
 |
Binary and |  | Binary and: Encyclopedia - Binary and |  | | If two conditions are combined by and, they must both be true for the compound condition to be true as well.
Likewise, two bits may be combined with and:
I.e. the result is 1, if both x and y are 1, and 0 otherwise. If 0 is equated with false, and 1 with true 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 co ...
|  | | Binary and, Bitwise operation, Logical conjunction |  | |
|  |  | Binary and: Encyclopedia - Binary and
Binary and
If two conditions are combined by and, they must both be true for the compound condition to be true as well.
Likewise, two bits may be combined with and:
I.e. the result is 1, if both x and y are 1, and 0 otherwise. If 0 is equated with false, and 1 with true 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 right, 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).
See also
- Bitwise operation
- Logical conjunction
Category: Computer arithmetic
 Adapted from the Wikipedia article "Binary and", under the G.N U Free Docmentation License. Please also see http://en.wikipedia.org/wiki |
|
|
More material related to Binary And can be found here:
|
|
« Back
|
Search the Global Oneness web site |
|
|
|
|
 |
Sneak-Peek of Global Oneness Community
Hi friend! The Global Oneness Community, the place for information and sharing about Oneness is not really launched yet (you will see there is still some clean up to do) ...but it is now open for a sneak-peek! And if you wish - please register and become one of the very first members to do so! Jonas
Forum Home,
Articles,
Photo Gallery,
Videos,
News,
Sitemap
...and much more!
|