ne

SpecialNodes ne

input ports:
Name Type Description Optional

a

?0

first comparand

no

b

?0

second comparand

no

output ports:
Name Type Description Optional

c

bool

true if a != b and false otherwise

no

ne reads one comparand from each of its inputs and outputs the boolean result of comparing them for inequality.

  • For numbers, the comparison uses numerical value.

  • For strings, the comparison is conventional string equality (different length or contents).

  • For bitsets, the two sets must be unequal. It is an error if the comparands do not have the same capacity.

  • For all other types, the comparands are compared by address, meaning that they are ne unless they are one and the same object in memory.