World's most popular travel blog for travel bloggers.

[Solved]: XOR two numbers

, , No Comments
Problem Detail: 

Is there an intuitive meaning of XOR of two numbers not involving binary and just decimal? Or is is always converted into binary and then XORed?

Asked By : user2505282

Answered By : Yuval Filmus

Bitwise operations like (bitwise) AND, OR, and XOR don't make much sense from the perspective of decimal expansion. They do make some sense in bases which are powers of 2 like hexadecimal, since in such bases they also operate digit by digit.

Best Answer from StackOverflow

Question Source : http://cs.stackexchange.com/questions/53349

3.2K people like this

 Download Related Notes/Documents

0 comments:

Post a Comment

Let us know your responses and feedback