Modulo
In mathematics, the modulo operation works out the remainder (what's left over) when we divide two integers (whole numbers without a fraction or a decimal) together. For example, 5 modulo 2 is 1, because if we divide 5 by 2, then we get 2 (because ) with 1 left over. Instead of writing modulo, people sometimes write . [1]
Because computers and calculators store numbers in different ways, they sometimes use different steps to work out the modulus (what we get when we modulo two numbers).
Related pages
References
- "Definition of MODULUS". www.merriam-webster.com. Retrieved 2021-02-06.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.