<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="guide" id="modulus" 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>Mòdul de la divisió</title>
    
    <p>
    Modulus division is performed using the mod operator or the mod <link xref="function">function</link>.
    </p>
    <example>
    <p>9 mod 5</p>
    <p>mod (9;5)</p>
    </example>
    <p>
    Modular exponentiation x^y mod p is performed using the modexp <link xref="function">function</link>.
    </p>
    <example>
    <p>modexp (9;3;5)</p>
    </example>
</page>
