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

◆ modulus_add()

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

Definition at line 53 of file godboltTest.cpp.

54 {
55 int t = a + b;
56 return (t < p ? t : t - p);
57 }
int p

References p.

Referenced by subtract(), and subtract_multiple2().