MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / mod

Method mod

src/common/Int128.h:278–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276 Int128 div(Int128 op2, int scale) const;
277
278 Int128 mod(Int128 op2) const
279 {
280 if (op2.v == 0)
281 zerodivide();
282
283 Int128 rc;
284 rc.v = v % op2.v;
285 return rc;
286 }
287
288 void divMod(int divisor, int* remainder)
289 {

Callers 1

evlModFunction · 0.45

Calls 1

DivMethod · 0.45

Tested by

no test coverage detected