Boolean - (Logical) Operator (OR, AND, XOR, ...)

> (Data|State) Management and Processing > (Data Type|Data Structure) > Data Type - Boolean

1 - About

Boolean operator

???? A logical operation is usually a comparison ????

Advertising

3 - Computer

In computer, a logical operator is implemented by a logic gate

4 - Negation

Any Boolean expression (such as the outcome of a comparison operator may be negated with not.

5 - Operator

And and or have normally lower priorities than comparison operators;

Between them, not has the highest priority and or the lowest, so that:

  • A and not B or C is equivalent to
  • (A and (not B)) or C.

6 - Illustration

data/type/boolean/operator.txt ยท Last modified: 2018/12/27 20:12 by gerardnico