Modulus

From Conservapedia
For the term relating to complex numbers, see Complex number.

Aside from its unrelated use in complex numbers, the term modulus refers to the remainder, that is, the remainder of integer division. For example, in 11 / 3 the remainder is 2. This could be stated as , though mathematicians much more commonly express it as "11 is congruent to 2 modulo 3" and write it symbolically as "".

The notion of congruence is actually more general than the remainder function. We could also say "2 is congruent to 11 modulo 3", or "".

"" means that is an integer multiple of .


The remainder operation is also important in computer programming, and the term "modulus" is used to refer to this operation. In C-like languages it is denoted with a percent sign:

x = 11 % 3; // x is now 2


In complex numbers, the modulus is the analogue of the absolute value, given by .


Categories: [Mathematics] [Programming Languages]


Download as ZWI file | Last modified: 02/27/2023 17:08:30 | 15 views
☰ Source: https://www.conservapedia.com/Modulus | License: CC BY-SA 3.0

ZWI signed:
  Encycloreader by the Knowledge Standards Foundation (KSF) ✓[what is this?]