Previous Up Next

5.1.2  Comparison operators

The usual comparison operators between numbers are examples of tests. In Xcas, they are the following infixed operators:

Remark.

Note that a=b is not a boolean. This form is used to state that the expression is an equality, perhaps with the intent to solve it. To test for equality, you need to use a==b, which is a boolean.


Previous Up Next