- lognot nprocedure
- bitwise-not nprocedure
Returns the integer which is the one's-complement of the integer argument.
Example:
(number->string (lognot #b10000000) 2) ; => "-10000001" (number->string (lognot #b0) 2) ; => "-1"
Returns the integer which is the one's-complement of the integer argument.
Example:
(number->string (lognot #b10000000) 2)
; => "-10000001"
(number->string (lognot #b0) 2)
; => "-1"