Apply the 1s compliment.
This function returns the bitwise NOT of a number. The number must be an integer.
Examples
This expression | Returns |
---|---|
(~ 10) | -11 |
(~ 0) | -1 |
(~ -25) | 24 |
Tell me about...
Programming Overview of LISP (LISt Processing) Language
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |