MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / operator -

Method operator -

code/mathematics/berlekamp_massey.test.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 return x + other.x;
11 }
12 Mod operator -(const Mod &other) const {
13 return x - other.x;
14 }
15 Mod operator -() const {
16 return -x;
17 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected