Skip to content
modulo operation
EntityQ1799665· pop 28· linked from 215 articles

modulo operation

Sign in to save

Also known as modulo, modulus

In computing and mathematics, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another, the latter being called the modulus of the operation.

~20 min read

Article

13 sections
Contents
  • Variants of the definition
  • Notation
  • Common pitfalls
  • Performance issues
  • Properties (identities)
  • In programming languages
  • Generalizations
  • Modulo with offset
  • Implementing other modulo definitions using truncation
  • See also
  • Notes
  • References
  • External links

In computing and mathematics, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another, the latter being called the modulus of the operation.

Given two positive numbers and , modulo (often abbreviated as ) is the remainder of the Euclidean division of by , where is the dividend and is the divisor.

Gallery (10)

Connections

Categories