BitNot
Usage
• BitAnd[ , , ... ] 给出了整数  的位 NOT 结果。
Notes
• 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.
Further Examples
These two commands give the same result.
In[1]:=
|
Out[1]=
|
In[2]:=
|
Out[2]=
|
|