modulo operator
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.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
Copyright © 2003-2025 Farlex, Inc
Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.