5

Is nor:

!(a or b)
!a or !b
!(a and b)

something else?

5 Answers 5

18

!(a or b)

see http://en.wikipedia.org/wiki/Logical_NOR for more:

In boolean logic, logical nor or joint denial is a truth-functional operator which produces a result that is the negation of logical or. That is, a sentence of the form (p NOR q) is true precisely when neither p nor q is true—i.e. when both of p and q are false. In grammar, nor is a coordinating conjunction...

11

!(a or b)

0
9

NOR(a, b) is defined to be NOT(OR(a, b)) which is !(a or b) in infix notation. By De Morgan's Laws, this is also equivalent to (!a) and (!b).

6

((a NAND a) NAND (b NAND b)) NAND ((a NAND a) NAND (b NAND b)) if you want to be circuit fabrication friendly. :)

5

your first alternative: !(a or b)

which happens to be equivalent to !a and !b

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.