summaryrefslogtreecommitdiff
path: root/help/C/boolean.page
diff options
context:
space:
mode:
Diffstat (limited to 'help/C/boolean.page')
-rw-r--r--help/C/boolean.page31
1 files changed, 31 insertions, 0 deletions
diff --git a/help/C/boolean.page b/help/C/boolean.page
new file mode 100644
index 0000000..080c28e
--- /dev/null
+++ b/help/C/boolean.page
@@ -0,0 +1,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>