1<?xml version="1.0" encoding="utf-8"?> 2<page xmlns="http://projectmallard.org/1.0/" type="guide" id="boolean" xml:lang="crh"> 3 4 <info> 5 <link type="guide" xref="index#equation"/> 6 </info> 7 8 <title>Boolean Algebra</title> 9 10 <p> 11 Boolean algebra can be calculated using the AND, OR and XOR operators. 12 </p> 13 <example> 14 <p> 15 010011₂ AND 110101₂ 16 </p> 17 </example> 18 <p> 19 Buttons for these symbols are available in <link xref="mouse">programming mode</link>. 20 </p> 21 <p> 22 The NOT <link xref="function">function</link> inverts the bits in a number. 23 The word size is set from the <guiseq><gui>Calculator</gui><gui>Preferences</gui></guiseq> menu. 24 </p> 25 <example> 26 <p> 27 NOT 010011₂ 28 </p> 29 </example> 30</page> 31