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

Method operator ==

code/mathematics/berlekamp_massey.test.cpp:24–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 return x * mod_inv(other.x, 1000000007);
23 }
24 bool operator ==(const Mod &other) const {
25 return x == other.x;
26 }
27};
28ostream& operator <<(ostream &outs, const Mod &x) {
29 return outs << x.x;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected