This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Numerical Computation / Number Representation /

Further Examples: BitAnd

Here are two numbers in binary.

In[1]:=

Out[1]//BaseForm=

In[2]:=

Out[2]//BaseForm=

Here are the digits as lists.

In[3]:=

Out[3]=

In[4]:=

Out[4]=

The product of the two lists represents the BitAnd of the two numbers.

In[5]:=

Out[5]=

In[6]:=

Out[6]=

In[7]:=

Out[7]=

Here BitAnd is used to construct a fractal.

In[8]:=