What are XAND and XOR

后端 未结 17 1435
旧巷少年郎
旧巷少年郎 2020-12-06 04:51

What are XAND and XOR? Also is there an XNot

17条回答
  •  遥遥无期
    2020-12-06 05:50

    Guys, don´t scare the crap out of others (hey! just kidding), but it´s really all a question of equivalences and synonyms:

    firstly:

    "XAND" doesn´t exist logically, neither does "XNAND", however "XAND" is normally thought-up by a studious but confused initiating logic student.(wow!). It com from the thought that, if there´s a XOR(exclusive OR) it´s logical to exist a "XAND"("exclusive" AND). The rational suggestion would be an "IAND"("inclusive" AND), which isn´t used or recognised as well. So:

     XNOR <=> !XOR <=> EQV
    

    And all this just discribes a unique operator, called the equivalency operator(<=>, EQV) so:

    A  |  B  | A <=> B | A XAND B | A XNOR B | A !XOR B | ((NOT(A) AND B)AND(A AND NOT(B)))
    ---------------------------------------------------------------------------------------
    T  |  T  |    T    |     T    |     T    |     T    |                T    
    T  |  F  |    F    |     F    |     F    |     F    |                F    
    F  |  T  |    F    |     F    |     F    |     F    |                F    
    F  |  F  |    T    |     T    |     T    |     T    |                T    
    

    And just a closing comment: The 'X' prefix is only possible if and only if the base operator isn´t unary. So, XNOR <=> NOT XOR <=/=> X NOR.

    Peace.

提交回复
热议问题