next up previous contents
Next: Set expressions Up: Expressions Previous: Arithmetic operators   Contents

Comparison operators

The comparison operators are

        =        equal
        ~=       not equal
        <        less than
        >        greater than
        <=       less than or equal
        >=       greater than or equal

When applied to integers, all return boolean values. The ``equal'' and ``not equal'' operators may also be applied to symbolic constants. Any integer is considered not equal to any symbolic constant. The inequality operators are undefined if either operand is a symbolic constant.



2002-10-28