lognot

[procedure] lognot n

SLIB, Gauche, SISC, Guile: bitwise not of integer n.

Note that SISC has range limitation in n (as of 1.6.4).

See also logand, logor, logior, logxor.

This is called bitwise-not or bit-not in some implementations.

Chez has fxlognot that works for fixnum range.