Top "Xor" questions

For questions involving exclusive-or operations (typically bitwise).

Creating a "logical exclusive or" operator in Java

Observations: Java has a logical AND operator. Java has a logical OR operator. Java has a logical NOT operator. Problem: …

java operators xor
Is it good practice to use the xor operator for boolean checks?

I personally like the exclusive or, ^, operator when it makes sense in the context of boolean checks because of its …

java conditional bitwise-operators logical-operators xor
bitwise XOR of hex numbers in python

how can we XOR hex numbers in python eg. I want to xor 'ABCD' to '12EF'. answer should be …

python hex bit-manipulation xor
T-SQL XOR Operator

Is there an XOR operator or equivalent function in SQL Server (T-SQL)?

sql-server tsql xor
XOR operation with two strings in java

How to do bitwise XOR operation to two strings in java.

java string operators xor
What is inverse function to XOR?

There is XOR function in Java - a^b For exemple: 5^3 = 6 Can you tell me inverse function? If I have 6 …

java xor inverse
What is the meaning of XOR in x86 assembly?

I'm getting into assembly and I keep running into xor, for example: xor ax, ax Does it just clear the …

assembly xor
Conditional XOR?

How come C# doesn't have a conditional XOR operator? Example: true xor false = true true xor true = false false xor …

c# operators xor boolean-operations
What does bitwise XOR (exclusive OR) mean?

I'm trying to understand the binary operators in C# or in general, in particular ^ - exclusive or. For example: Given …

math language-agnostic bit-manipulation operators xor