"BOOL" Logic functionsΒΆ

Fingerprint ID:0x424f4f4c

This fingerprint, from RC/Funge-98, implements bitwise operations over integer. It provides the following commands:

A : a b(a AND b)
Performs bitwise AND.
N : a(NOT a)
Performs bitwise negation.
O : a b(a OR b)
Performs bitwise OR.
X : a b(a XOR b)
Performs bitwise exclusive OR.

PyFunge assumes the arguments to be two’s complement representation. Thus N is actually same to 0\-1-.