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

Method operator /

code/mathematics/berlekamp_massey.test.cpp:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 return x * other.x;
20 }
21 Mod operator /(const Mod &other) const {
22 return x * mod_inv(other.x, 1000000007);
23 }
24 bool operator ==(const Mod &other) const {
25 return x == other.x;
26 }

Callers

nothing calls this directly

Calls 1

mod_invFunction · 0.85

Tested by

no test coverage detected