<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Bit array - Page 7 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Bit_array&amp;p=6">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Bit_array&amp;p=8">3.Next</a>
</p>
<p>obtain the <a href="page.php?w=Mask_%28computing%29">bit mask</a> needed for these operations, we can use a <a href="page.php?w=Bitwise_operation">bit shift</a> operator to shift the number 1 to the left by the appropriate number of places, as well as <a href="page.php?w=bitwise_negation">bitwise negation</a> if necessary.</p>

<p>Given two bit arrays of the same size representing sets, we can compute their <a href="page.php?w=union_%28set_theory%29">union</a>, <a href="page.php?w=intersection_%28set_theory%29">intersection</a>, and <a href="page.php?w=complement_%28set_theory%29">set-theoretic difference</a></p><p>
<a accesskey="1" href="page.php?w=Bit_array&amp;p=6">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Bit_array&amp;p=8">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
