Nitish Upreti
Nitish Upreti

Reputation: 6550

How do you calculate Pairwise XOR?

How is pairwise XOR calculated ? I googled but could not find anything relevant.

EDIT : How is it different from normal XOR?

Upvotes: 0

Views: 190

Answers (1)

BadZen
BadZen

Reputation: 4274

Each bit of the number are pairwise XOR'd with each other. For example:

  15 = 0000 1111
  21 = 0001 0101 

So, the XOR is

       0001 1010 = 26

Upvotes: 2

Related Questions