Added NAND (#20930)
Added the logical operator NAND to the list of operators. NAND functions like NOT AND and returns a value of false only when both inputs are true.
This commit is contained in:
committed by
Christopher McCormack
parent
8b2c780949
commit
e50a02c7e7
@ -64,6 +64,15 @@ NOT operator:
|
|||||||
| F | T |
|
| F | T |
|
||||||
| T | F |
|
| T | F |
|
||||||
|
|
||||||
|
NAND operator:
|
||||||
|
|
||||||
|
| x | y | x NAND y |
|
||||||
|
|---|---|---|
|
||||||
|
| F | F | T |
|
||||||
|
| F | T | T |
|
||||||
|
| T | F | T |
|
||||||
|
| T | T | F |
|
||||||
|
|
||||||
Implication operator:
|
Implication operator:
|
||||||
|
|
||||||
| x | y | x IMPLY y |
|
| x | y | x IMPLY y |
|
||||||
|
Reference in New Issue
Block a user