Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

modulo operator

You are here: irt.org | FOLDOC | 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.

(1999-07-12)

Nearby terms: Modulex « modulo « modulo arithmetic « modulo operator » Mohammed Al-Khawarizmi » molly-guard » monad

FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL

©2018 Martin Webb