Relational operators
In the integrated development environment CannyLab, the following comparison operations are implemented:
Symbol | Function block name |
---|---|
Equal to: for X = Y the result is 1, otherwise 0 | |
Greater than: for X> Y the result is 1, otherwise 0 | |
Not greater than: for X = <Y the result is 1, otherwise 0 | |
Less than: for X <Y the result is 1, otherwise 0 | |
Not less than: for X> = Y the result is 1, otherwise 0 | |
Minimum: for X > Y the result is Y, otherwise X | |
Maximum: for X >= Y the result is X, otherwise Y |