exclusive

Exclusive or or exclusive disjunction or exclusive alternation, also known as non-equivalence which is the negation of equivalence, is a logical operation that is true if and only if its arguments differ (one is true, the other is false).It is symbolized by the prefix operator



J


{\displaystyle J}
: 16  and by the infix operators XOR (, , or ), EOR, EXOR,







˙





{\displaystyle {\dot {\vee }}}
,






¯




{\displaystyle {\overline {\vee }}}
,






_




{\displaystyle {\underline {\vee }}}
, ⩛,






{\displaystyle \oplus }
,






{\displaystyle \nleftrightarrow }
and






{\displaystyle \not \equiv }
.
It gains the name "exclusive or" because the meaning of "or" is ambiguous when both operands are true; the exclusive or operator excludes that case. This is sometimes thought of as "one or the other but not both" or "either one or the other". This could be written as "A or B, but not, A and B".
XOR is equivalent to logical inequality (NEQ) since it is true only when the inputs are different (one is true, and one is false). The negation of XOR is the logical biconditional, which yields true if and only if the two inputs are the same, which is equivalent to logical equality (EQ).
Since it is associative, it may be considered to be an n-ary operator which is true if and only if an odd number of arguments are true. That is, a XOR b XOR ... may be treated as XOR(a,b,...).

View More On Wikipedia.org
  • 2

    Joe Boatman

    Established Member 81 From Glasgow
    • Messages
      70
    • Reaction score
      71
    • Points
      30
  • 2

    JuziWomble

    Established Member From Amesbury Wilts
    • Messages
      368
    • Reaction score
      350
    • Points
      129
  • 1

    viking

    Standard Member From UK
    • Messages
      36
    • Reaction score
      36
    • Points
      17
  • 1

    Raymond AB

    Standard Member From Aberdeen, UK
    • Messages
      8
    • Reaction score
      7
    • Points
      3
  • 1

    Peacsy

    Standard Member From London
    • Messages
      16
    • Reaction score
      3
    • Points
      7
  • 1

    fred12345

    Prominent Member From Northwood
    • Messages
      1,227
    • Reaction score
      549
    • Points
      256
  • 1

    DiscoStu

    Novice Member From Derbyshire
    • Messages
      1
    • Reaction score
      1
    • Points
      4
  • 1

    johnstephens123

    Novice Member From cheltenham
    • Messages
      1
    • Reaction score
      1
    • Points
      1
  • 1

    Billt1967

    Standard Member From London
    • Messages
      15
    • Reaction score
      7
    • Points
      4
  • 1

    philkeel

    Standard Member From Rowley Regis
    • Messages
      19
    • Reaction score
      16
    • Points
      6
  • 1

    Bam Bam

    Established Member From Oxfordshire, UK
    • Messages
      771
    • Reaction score
      661
    • Points
      234
  • 1

    hielliot

    Novice Member From North Yorkshire
    • Messages
      5
    • Reaction score
      4
    • Points
      1
  • 1

    smokie

    Prominent Member From Wokingham, UK
    • Messages
      1,567
    • Reaction score
      1,244
    • Points
      442
  • 1

    Green Salop Man

    Standard Member From Shrewsbury
    • Messages
      35
    • Reaction score
      43
    • Points
      16
  • 1

    trehans

    Novice Member From Farnham
    • Messages
      4
    • Reaction score
      1
    • Points
      2
  • 1

    Ealing Guy

    Standard Member From London, UK
    • Messages
      33
    • Reaction score
      20
    • Points
      13
  • 1

    mystreet

    Established Member From Chelmsford Essex
    • Messages
      518
    • Reaction score
      464
    • Points
      171
  • 1

    C6MFC

    Established Member From Telford
    • Messages
      388
    • Reaction score
      250
    • Points
      106
  • 1

    Petriix

    Established Member From Uk
    • Messages
      462
    • Reaction score
      541
    • Points
      163
  • 1

    thedomg

    Standard Member From Bath, UK
    • Messages
      10
    • Reaction score
      4
    • Points
      4
  • Back
    Top Bottom