~ (Bitwise NOT)

(~ integer)

This function returns the one's complement of a given integer.

Examples

: (~ 5)

-6

: (~ -3)

2

Related Functions

boole, logand, logior, lsh