Mod
The remainder of a on division by b.
Wikipedia
ModuloMathWorldModWikidataQ1799665DLMFfront/introduction.common.t2.r10FungrimMod✓Fungrim entry54093175231e959a25✓Wolfram LanguageMod✓Mod(a, b)remainder of Details
- Equivalent to
, i.e. . - When
the result lies in ; the sign of the result always matches the sign of . - Periodic:
for any integer . - compute-engine returns NaN for a zero modulus rather than leaving the call unevaluated.
- compute-engine only supports the 2-argument form.
Examples
See also: PowerMod