Mathematica 9 is now available

BitNot

Usage

BitNot[n] gives the bitwise NOT of the integer n.


Notes

• Integer mathematical function (see Section A.3.10).
BitNot[n] turns ones into zeros and vice versa in the binary bit representation of n.
• Integers are assumed to be represented in two's complement form, with an unlimited number of digits, so that BitNot[n] is simply equivalent to  .
• See Section 3.2.5.
• See also: BitAnd, BitOr, BitXor, Not.
• New in Version 4.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.