Next: Arithmetic Operators, Previous: Casting Integers, Up: Integers [Contents][Index]

The following binary relational operators are supported on integer values, in descending precedence order:

- Equality
`==`

and inequality`!=`

. - Less than
`<`

and less or equal than`<=`

. - Greater than
`>`

and greater or equal than`>=`

.

When applied to integer and character values, these operators implement an arithmetic ordering.

These operators resolve in boolean values encoded as 32-bit integers:
`0`

meaning false and `1`

meaning true.