Negating an integer value: -x
Comparison operators
val lt : t -> t -> bool optionval gt : t -> t -> bool optionval le : t -> t -> bool optionLess than or equal: x <= y
val ge : t -> t -> bool optionGreater than or equal: x >= y
val eq : t -> t -> bool optionval ne : t -> t -> bool optionBitwise logical operators
Bitwise logical not (one's complement): ~x
Bitwise logical and: x & y
Bitwise logical or: x | y
Bitwise logical exclusive or: x ^ y
val shift_left : t -> t -> tShifting bits left: x << y
val shift_right : t -> t -> tShifting bits right: x >> y