<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="guide" id="boolean" xml:lang="ga">

    <info>
        <link type="guide" xref="index#equation"/>
    </info>

	<title>Boolean Algebra</title>
    
    <p>
    Boolean algebra can be calculated using the AND, OR and XOR operators.
    </p>
    <example>
    <p>
    010011₂ AND 110101₂
    </p>
    </example>
    <p>
    Buttons for these symbols are available in <link xref="mouse">programming mode</link>.
    </p>
    <p>
    The NOT <link xref="function">function</link> inverts the bits in a number.
    The word size is set from the <guiseq><gui>Calculator</gui><gui>Preferences</gui></guiseq> menu.
    </p>
    <example>
    <p>
    NOT 010011₂
    </p>
    </example>
</page>
