Polybench® Reference
Describes how inequalities and comparison of texts work

Inequality math


At some places this software offers the possibility to compare values, variables or texts using inequality operators. This section describes the syntax and working of those operators.


The syntax of inequality operations generally uses these symbols:

= to indicate equals
> to indicate greater than or comes after
< to indicate less than or comes before
! to indicate the inverse, or not
* to indicate the position in the values of where the operator is applied
~ to indicate similar to or approximately

Inequality operators are a combination of the above symbols. Read more on allowed combinations in this section.