modulo operator

<mathematics>

(mod) The operator that returns the remainder after integer division of its first argument by its second. Written as "%" in C and some other languages.

Where the second argument is a power of two, the result can be calculated much more quickly using bitwise and with the appropriate bit-mask.

Last updated: 1999-07-12

Nearby terms:

modulo arithmeticmodulo operatorMohammed Al-Khawarizmimolly-guard

Try this search on Wikipedia, OneLook, Google


Loading