BytesOfProgress

Wiki


Binary logical And / Or


This will be fairly simple:

Logical And

The logical AND operation is fundamental in subnetting for accurately determining network addresses and refining subnet masks. This is of course just one of many usecases.

1 & 0 = 0

1 & 1 = 1

0 & 1 = 0

0 & 0 = 0

Logical Or

The logical OR operation is crucial for defining subnet masks and determining network addresses. This is just one of many usecases.

1 | 0 = 1

1 | 1 = 1

0 | 1 = 1

0 | 0 = 0




back