Category:Amazing Hopper: Difference between revisions

Content added Content deleted
No edit summary
Line 808: Line 808:
INSTRUCCIONES
INSTRUCCIONES
HOPPER
HOPPER
- && (and) (a<b) && (c==0) and = {b,a}lt?,{c,0}eq?, and
&& (and) (a<b) && (c==0) and = {b,a}lt?,{c,0}eq?, and
- || (or) (a<=b) || (c==0) or = {b,a}le?,{c,0}eq?, or
|| (or) (a<=b) || (c==0) or = {b,a}le?,{c,0}eq?, or
- XOR xor((a>=b), (c==0)) xor = {b,a}ge?,{c,0}eq?, xor
XOR xor((a>=b), (c==0)) xor = {b,a}ge?,{c,0}eq?, xor
- NAND nand(a>=b), (c==0)) nand = {b,a}ge?,{c,0}eq?, nand
NAND nand(a>=b), (c==0)) nand = {b,a}ge?,{c,0}eq?, nand
- NOR nor(a>=b), (c==0)) nor = {b,a}ge?,{c,0}eq?, nor
NOR nor(a>=b), (c==0)) nor = {b,a}ge?,{c,0}eq?, nor


El pseudo-operador de negación se antepone a una expresión lógica. Ejemplo:
El pseudo-operador de negación se antepone a una expresión lógica. Ejemplo:


- !(1==0) = 1 not = {1,0}eq?,not
!(1==0) = 1 not = {1,0}eq?,not
- !(1) = 0
!(1) = 0
- !(0) = 1
!(0) = 1


=== OPERACIONES LOGICAS MATRICIALES ===
=== OPERACIONES LOGICAS MATRICIALES ===