Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Discrete Mathematics > Boolean Computation > Bitwise Operations > BitClear >
Mathematica > Mathematics and Algorithms > Logic & Boolean Algebra > Boolean Computation > Bitwise Operations > BitClear >
Mathematica > Mathematics and Algorithms > Graphs & Networks > Graph Programming > Boolean Computation > Bitwise Operations > BitClear >

BitClear

BitClear
sets to 0 the bit corresponding to the coefficient of in the integer n.
  • BitClear clears the bit k places from the right.
Display coefficients at powers of 2 in the integer 63:
Clear the bit corresponding to the coefficient at :
Clear the bit corresponding to the coefficient at :
Display coefficients at powers of 2 in the integer 63:
In[1]:=
Click for copyable input
Out[1]=
Clear the bit corresponding to the coefficient at :
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Clear the bit corresponding to the coefficient at :
In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF