Macaulay2 Engine
Loading...
Searching...
No Matches

◆ modulus_add()

int modulus_add ( int a,
int b,
int p )
inlinestatic

Definition at line 91 of file ZZp.cpp.

92{
93 int t = a + b;
94 return (t < p ? t : t - p);
95}
int p

References p.