About 865,000 results
Open links in new tab
  1. Understanding The Modulus Operator % - Stack Overflow

    Jul 8, 2013 · The Modulus is the remainder of the euclidean division of one number by another. % is called the modulo operation. For instance, 9 divided by 4 equals 2 but it remains 1. Here, 9 / …

  2. What is the difference between Modulus, Absolute value and …

    As far as I know, I've never seen Absolute Value referred to as modulus, though wikipedia does acknowledge this use. Modulus and modulo both refer to the remainder operation. Generally …

  3. How Does Modulus Divison Work - Stack Overflow

    The modulus operator takes a division statement and returns whatever is left over from that calculation, the "remaining" data, so to speak, such as 13 / 5 = 2. Which means, there is 3 left …

  4. RSA: Get exponent and modulus given a public key

    Jun 25, 2010 · I need to encrypt some data using RSA in JavaScript. All of the libraries around ask for an exponent and a modulus, yet I get a single public.key file from my opponent. How …

  5. c# - What does the `%` (percent) operator mean? - Stack Overflow

    It is the modulo (or modulus) operator: The modulus operator (%) computes the remainder after dividing its ...

  6. What is the result of % (modulo operator / percent sign) in Python?

    Jun 14, 2024 · The modulus operation ,therefore, returns 1: 5 % 2 = 1. Application to apply the modulus to a fraction. Example: 2 % 5 The calculation of the modulus when applied to a …

  7. C# modulus operator - Stack Overflow

    Oct 11, 2013 · Modulus is just the remainder in division before its used in a decimal quotient. Example: The division of two numbers is often expressed as a decimal number (quotient). But …

  8. What are the practical uses of modulus (%) in programming?

    Aug 28, 2010 · Cryptography. That alone would account for an obscene percentage of modulus (I exaggerate, but you get the point). Try the Wikipedia page too: Modular arithmetic is …

  9. Why is operator% referred to as the "modulus" operator instead of …

    Feb 15, 2014 · So when he came to ask me about it, I told him "well, that makes sense. When you divide -1 by 10, you get 0 with -1 remaining. His argument however was that the modulus …

  10. How to calculate a Modulo? - Mathematics Stack Exchange

    Feb 28, 2018 · More generally, the idea is that two numbers are congruent if they are the same modulo a given number (or modulus) For example, as above, $7 \equiv 2 \mod 5$ where $5$ …

Refresh