Alan Freedman -- The Computer Language Company - Computer Desktop Encyclopedia
Computer Desktop Encyclopedia
Longest-Running Tech Reference on the Planet

A CDE Definition

You'll love The Computer Desktop Encyclopedia (CDE) for Tech Term of the Day (TTOD)

LOOK UP ANOTHER TERM


modulus

See modulo.



modulo

A mathematical operation (modulus arithmetic) in which the result is the remainder of a division. Also known as the "remainder operator," it is used to solve a variety of problems. For example, the following code in the C language determines if a number is odd or even. The number in AMOUNT is divided by 2, and the result is the remainder. If RESULT is zero, the number is even. The % symbol is the modulo, or "modulus" operator.


      result = amount % 2;
      if (result == 0)
         EVEN=YES;
      else
         EVEN=NO;





Personal Use Only

Before/After Your Search Term
BeforeAfter
modular smartphoneMOEMS
modular softwareMOF
Modular WindowsMOH
modularitymoire
modulatemol
modulationMOLAP
modulation fallbackmole
modulatormolecular beam epitaxy
modulemolecular electronics
modulomolecular manufacturing

Terms By Topic
Click any of the following categories for a list of fundamental terms.
Computer Words You Gotta KnowSystem design
Job categoriesUnix/Linux
Interesting stuffPersonal computers
InternetIndustrial Automation/Process Control
Communications & networkingAssociations/Standards organizations
HistoryDesktop publishing
Audio/VideoGraphics
MainframesSecurity
ProgrammingHealthcare IT
System design