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

    <info>
        <link type="guide" xref="index#equation"/>
    
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Nichita Uțiu</mal:name>
      <mal:email>nikita.utiu@gmail.com</mal:email>
      <mal:years>2010</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Daniel Șerbănescu</mal:name>
      <mal:email>daniel [at] serbanescu [dot] dk</mal:email>
      <mal:years>2021</mal:years>
    </mal:credit>
  </info>

	<title>Împărțire modulo</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>
