Mathematica 9 is now available

BitNot

Usage

BitAnd[ ,  , ... ] 给出了整数  的位 NOT 结果。


Notes

• 整数数学函数 (参见 A.3.10).
BitNot[n]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  .
• 参见 Mathematica 全书: 3.2.4.
• 同时参见: BitAnd, BitOr, BitXor, Not.
Further Examples

These two commands give the same result.

In[1]:=  

Out[1]=

In[2]:=  

Out[2]=



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.