Welcome to Vestris Inc.
Internet Interactive Solutions Company



Software Documentation

nor

Name

nor — bitwise nor

Syntax

expression nor expression

Domain

nor : Z x Z -> Z

Example

2 nor 4 = 6

Description

Logical nor yields the following bitwise combinations: 0 nor 0 = 1, 0 nor 1 = 0, 1 nor 0 = 0 and 1 nor 1 = 0. The nor operator is the exact opposite of the or operator. If the expressions are not in Z, they are truncated before the bitwise nor is performed.