Syntax
=BITXOR(number1, number2)Arguments
| Argument | Required | Description |
|---|---|---|
number1 | Required | A whole number from 0 up to 2^48 |
number2 | Required | A whole number from 0 up to 2^48 |
How to use BITXOR
BITXOR takes 2 required arguments. Type =BITXOR( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=BITXOR(5, 3)Result Related engineering functions
- BITANDReturns the bitwise AND of two numbers.
- BITLSHIFTReturns a number shifted left by a number of bits (multiplied by a power of 2).
- BITORReturns the bitwise OR of two numbers.
- BITRSHIFTReturns a number shifted right by a number of bits (divided by a power of 2, rounded down).
- COMPLEXBuilds a complex number as text from its real and imaginary parts.
- CONVERTConverts a number from one measurement unit to another, like feet to meters or Fahrenheit to Celsius.
- DEC2BINConverts a decimal number to binary.
- DEC2HEXConverts a decimal number to hexadecimal.
- DEC2OCTConverts a decimal number to octal.