About 37,100 results
Open links in new tab
  1. math - What does the ^ (XOR) operator do? - Stack Overflow

    Mar 6, 2021 · ^ is the Python bitwise XOR operator. It is how you spell XOR in python: XOR stands for exclusive OR. It is used in cryptography because it let's you 'flip' the bits using a mask in a …

  2. Exclusive or - Wikipedia

    The XOR operation preserves randomness, meaning that a random bit XORed with a non-random bit will result in a random bit. Multiple sources of potentially random data can be combined using XOR, …

  3. Bitwise XOR Operator in Programming - GeeksforGeeks

    Jul 23, 2025 · Bitwise XOR Operator is represented by the caret symbol (^). It is used to perform a bitwise XOR operation on the individual bits of two operands. The XOR operator returns 1 if the …

  4. Bitwise and shift operators - perform boolean (AND, NOT, OR, XOR) …

    Jan 24, 2026 · Learn about C# operators that perform bitwise logical (AND - `&`, NOT - `~`, OR - `|`, XOR - `^`) or shift operations (`<<`, and `>>`) with operands of integral types.

  5. Bitwise XOR (^) - JavaScript - MDN

    Jul 8, 2025 · The ^ operator is overloaded for two types of operands: number and BigInt. For numbers, the operator returns a 32-bit integer. For BigInts, the operator returns a BigInt. It first coerces both …

  6. Bitwise Calculator - AND, OR, XOR, NOT, Shift Operations with Visual ...

    Dec 26, 2025 · Whether you are a software developer working with low-level code, a computer science student learning binary arithmetic, or an engineer optimizing algorithms, this calculator helps you …

  7. What is a Bitwise Operator? - W3Schools

    What is a Bitwise Operator? A bitwise operator is a symbol or keyword that tells the computer what operation to perform, bit by bit, on values or variables. See this page for an overview of other types …

  8. Bitwise exclusive OR operator: ^ | Microsoft Learn

    Mar 2, 2024 · The bitwise exclusive OR operator (^) compares each bit of its first operand to the corresponding bit of its second operand. If the bit in one of the operands is 0 and the bit in the other …

  9. C Bitwise Operators: AND, OR, XOR, Complement and Shift Operations

    In this tutorial you will learn about all 6 bitwise operators in C programming with examples.

  10. XOR -- from Wolfram MathWorld

    Feb 14, 2026 · XOR is a connective in logic known as the "exclusive or," or exclusive disjunction. It yields true if exactly one (but not both) of two conditions is true.