summaryrefslogtreecommitdiff
path: root/help/C/boolean.page
blob: 080c28e3fef2177fefc67e246b201e50234cd76d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<page xmlns="http://projectmallard.org/1.0/"
      type="guide"
      id="boolean">

    <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>