Diferencia entre revisiones de «xor»

De ArduWiki
Saltar a: navegación, buscar
(Referencias)
(Vea también)
Línea 30: Línea 30:
  
 
== Vea también ==
 
== Vea también ==
 +
<categorytree mode=all>Operador logico</categorytree>
 
* [[not]] <nowiki>(!)</nowiki>
 
* [[not]] <nowiki>(!)</nowiki>
 
* [[and]] <nowiki>(&&)</nowiki>
 
* [[and]] <nowiki>(&&)</nowiki>

Revisión del 19:20 14 jun 2019

Descripción

Es un operador boleano xor ^ que permite unir dos expresiones lógicamente.

a b a ^ b
0 0 0
1 0 1
0 1 1
1 1 0

Sintaxis

espresion 1 ^ expresion 2

Retorna

Verdadero o falso.

Advertencias

  • No confundir el operador boleano xor ^, con el operador xor bit a bit |.

Ejemplo


Vea también

  and
  not
  or
  xor

Referencias