DeMorgan transformations

From Sidvind
Revision as of 22:09, 9 April 2008 by EXt (Talk | contribs) (New page: {| !| Initial expression !| Code !| Equivalent expression !| Code |- | not A and not B | !A && !B | not ( A or B ) | !( A <nowiki>||</nowiki> B ) |- | not A and B | !A && B | not ( A or ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Initial expression Code Equivalent expression Code
not A and not B  !A && !B not ( A or B )  !( A || B )
not A and B  !A && B not ( A or not B )  !( A || !B )
A and not B A && !B not ( not A or B )  !( !A || B )
A and B A && B not ( not A or not B )  !( !A || !B )
not A or not B  !A || !B not ( A and B )  !( A && B )
not A or B  !A || B not ( A and not B )  !( A && !B )
A or not B A || !B not ( not A and B )  !( !A && B )
A or B A || B not ( not A and not B )  !( !A && !B )