Manuals/calci/BITXOR

From ZCubes Wiki
Jump to navigation Jump to search
BITXOR(n1,n2)


  • where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n1} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n2} specify the numeric values on which the bitwise XOR operation is to be performed.


Description

  • BITXOR() returns the result of bitwise XOR operation performed on numeric values.
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n1} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n2} must be greater than or equal to '0'.
  • In the result, each bit position is 1 if the values of the parameters Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n1} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n2} at that bit position are not equal; in other words, one value is 0 and the other is 1.
  • If either argument is a non-numeric value, BITXOR returns the #VALUE! error value.

For Example,

BITXOR(1,4) = 5

BITXOR(true, false) = 1


Examples

  1. =BITXOR(3,5) = 6
  2. =BITXOR(17,48) = 33
  3. =BITXOR(-9,-3) = 10
  4. =BITXOR(0.5,0.1) = 0
  5. =BITXOR(12, 7) = 11

Related Videos

BITWISE OPERATORS


See Also


References