====== Relational operators ====== ===== Definition ===== * Comparing operators are used to compare operands according to their equality, inequality and size. * The operands always have to be of the same type. * The result of the operation is of the predefined type //boolean// . ===== Comment ===== The comparison of discrete array types is done by comparing the "left" values of the arrays. Vectors for example are aligned to the left and than compared. ("110" < "1000" results to false as only the first three bits are relevant) ===== Overview ===== ^ Operator ^ Operation ^ Operand type ^ Result type ^ | = | Equality | any | boolean | | /= | Inequality | any | boolean | | < <= \\ > >= | Comparison | any scalar type or a array type | boolean |