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

    Jul 8, 2013 · In mathematics, the result of a modulo operation is the remainder of an arithmetic division. So, in your specific case, when you try to divide 7 bananas into a group of 5 bananas, …

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

    Feb 28, 2018 · 16 I really can't get my head around this "modulo" thing. Can someone show me a general step-by-step procedure on how I would be able to find out the 5 modulo 10, or 10 …

  3. How does a modulo operation work when the first number is …

    Oct 8, 2009 · I'm messing with the modulo operation in python and I understand that it will spit back what the remainder is. But what if the first number is smaller than the second? for …

  4. How does the % operator (modulo, remainder) work?

    Oct 2, 2024 · Let's say that I need to format the output of an array to display a fixed number of elements per line. How do I go about doing that using modulo operation? Using C++, the code …

  5. modulo - Modulus with negative numbers in C++ - Stack Overflow

    Apr 22, 2014 · Does either ANSI C or ISO C specify what -5 % 10 should be?, Modulo operation with negative numbers, Why is the behavior of the modulo operator (%) different between C …

  6. modulo - Understanding Mod Operator in Math vs Programming

    Apr 14, 2019 · In programming however, there are operators in many languages which can be used to mean either the remainder operator or modulo operator which differ with respect to …

  7. math - Modulo in order of operation - Stack Overflow

    Jun 24, 2010 · Where does modulo come in the mathematical order of operation? I am guessing it is similar to division, but before or after?

  8. c - Modulo operation with negative numbers - Stack Overflow

    Jul 30, 2012 · The % operator in C is not the modulo operator but the remainder operator. Modulo and remainder operators differ with respect to negative values. With a remainder operator, the …

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

    The answer to "what is the difference" is "there isn't even a single similarity." Modulus is a term used for absolute value in complex analysis, and also a term used for the thing-being-divided …

  10. modulo - What does % do in Haskell? - Stack Overflow

    Feb 19, 2019 · I'm used to using % to mean "modulo" in other languages. In Haskell, we have to use mod x y or x `mod` y. So, what is this symbol used for in Haskell?