Syntax
result& =
exprA {nand | ^&
} exprB
Description
Expression exprA and expression exprB are each interpreted as 32-bit integer quantities. The nand operator sets each bit in result when the bit in exprA is set and the corresponding position in exprB is cleared. This can be thought of as a not and
expression. The result is another 32-bit quantity; each bit in the result is determined as follows:
Bit Value in expr | Bit Value in expr | Bit Value in expr |
0 | 0 | 0 |
1 | 0 | 1 |
0 | 1 | 0 |
1 | 1 | 0 |
See also
and; &&; nor; not; xor; or; Appendix D - Numeric Expressions