Difference between revisions of "Logical NAND"
MyWikiBiz, Author Your Legacy — Sunday November 17, 2024
Jump to navigationJump to searchJon Awbrey (talk | contribs) |
Jon Awbrey (talk | contribs) (table colors → table body (#f8f8ff = ghostwhite) table head (#e6e6ff = blue gray)) |
||
Line 3: | Line 3: | ||
The [[truth table]] of '''p NAND q''' (also written as '''p | q''' or '''p ↑ q''') is as follows: | The [[truth table]] of '''p NAND q''' (also written as '''p | q''' or '''p ↑ q''') is as follows: | ||
− | {| align="center" border="1" cellpadding="8" cellspacing="0" style="background: | + | <br> |
+ | |||
+ | {| align="center" border="1" cellpadding="8" cellspacing="0" style="background:#f8f8ff; font-weight:bold; text-align:center; width:45%" | ||
|+ '''Logical NAND''' | |+ '''Logical NAND''' | ||
− | |- style="background: | + | |- style="background:#e6e6ff" |
! style="width:15%" | p | ! style="width:15%" | p | ||
! style="width:15%" | q | ! style="width:15%" | q | ||
Line 18: | Line 20: | ||
| T || T || F | | T || T || F | ||
|} | |} | ||
+ | |||
<br> | <br> | ||
Revision as of 22:22, 25 May 2009
The logical NAND is a logical operation on two logical values, typically the values of two propositions, that produces a value of false if and only if both of its operands are true. In other words, it produces a value of true if and only if at least one of its operands is false.
The truth table of p NAND q (also written as p | q or p ↑ q) is as follows:
p | q | p ↑ q |
---|---|---|
F | F | T |
F | T | T |
T | F | T |
T | T | F |