modulo operation
Sign in to saveAlso 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 sectionsContents
- 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
floor and ceiling functions
Entity
programming language
Entity
International Organization for Standardization
Entity
coprime
Entity
American National Standards Institute
Entity
equivalence class
Entity
KornShell
Entity
mathematics
Entity
Carl Friedrich Gauss
Entity
Microsoft
Entity
Q15777
Entity
PHP
Entity
Q2005
Entity
Python
Entity
Java
Entity
prime number
Entity
Q2407
Entity
integer
Entity
Cascading Style Sheets
Entity
division
Entity