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

    <info>
        <link type="guide" xref="index#equation"/>
    <credit type="translator copyright"><name>Joan Duran</name><email>jodufi@gmail.com</email><years>2008</years></credit><credit type="translator copyright"><name>Sergi Morraja</name><email>sergi256@gmail.com</email><years>2011, 2012</years></credit><credit type="translator copyright"><name>Gil Forcada</name><email>gilforcada@guifi.net</email><years>2013</years></credit><credit type="translator copyright"><name>Miquel-Àngel Burgos i Fradeja</name><email>miquel.angel.burgos@gmail.com</email><years>2020</years></credit><credit type="translator copyright"><name>Victor Dargallo</name><email>victordargallo@disroot.org</email><years>2025</years></credit></info>

    <title>Operacions bit a bit</title>

    <p>Les operacions bit a bit es poden calcular usant els següents operadors.</p>
    <p>
    The result of some operations depend on the word size.
    To set the word size, press the menu button in the top-right corner of the
    window and select <gui style="menuitem">Preferences</gui>.
    </p>
    <p>
    Buttons for the following symbols and to set the word size are available in <link xref="mode-programming">programming mode</link>.
    </p>

    <p>
    Bitwise conjunction can be calculated using the ∧ or AND operators.
    </p>
    <example>
    <p>010011₂ ∧ 110101₂</p>
    <p>010011₂ AND 110101₂</p>
    </example>

    <p>La disjunció bit a bit es pot calcular utilitzant els operadors ∨ o OR.</p>
    <example>
    <p>010011₂ ∨ 110101₂</p>
    <p>010011₂ OR 110101₂</p>
    </example>

    <p>La disjunció exclusiva bit a bit es pot calcular utilitzant els operadors ⊻, ⊕ o XOR.</p>
    <example>
    <p>010011₂ ⊻ 110101₂</p>
    <p>010011₂ XOR 110101₂</p>
    </example>

    <p>
    Bitwise complement for the set word size can be calculated using the ¬, ~ or NOT operators.
    </p>
    <example>
    <p>¬ 010011₂</p>
    <p>NOT 010011₂</p>
    </example>

    <p>
    Bitwise alternative denial for the set word size can be calculated using the ⊼ or NAND operators.
    </p>
    <example>
    <p>010011₂ ⊼ 110101₂</p>
    <p>010011₂ NAND 110101₂</p>
    </example>

    <p>
    Bitwise joint denial for the set word size can be calculated using the ⊽ or NOR operators.
    </p>
    <example>
    <p>010011₂ ⊽ 110101₂</p>
    <p>010011₂ NOR 110101₂</p>
    </example>

    <p>
    Bitwise biconditional for the set word size can be calculated using the ⊙, XNOR or NXOR operators.
    </p>
    <example>
    <p>010011₂ ⊙ 110101₂</p>
    <p>010011₂ XNOR 110101₂</p>
    </example>
</page>
