MCPcopy Create free account
hub / github.com/Gecode/gecode / mod

Function mod

gecode/int/arithmetic.cpp:362–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360 }
361
362 void
363 mod(Home home, IntVar x0, IntVar x1, IntVar x2,
364 IntPropLevel ipl) {
365 using namespace Int;
366 GECODE_POST;
367 IntVar _div(home, Int::Limits::min, Int::Limits::max);
368 divmod(home, x0, x1, _div, x2, ipl);
369 }
370
371 void
372 sqr(Home home, IntVar x0, IntVar x1, IntPropLevel ipl) {

Callers 3

postMethod · 0.85
postFunction · 0.85
p_int_modFunction · 0.85

Calls 1

divmodFunction · 0.85

Tested by

no test coverage detected