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

Function ceil_div_xp

gecode/int/div.hpp:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67 template<class IntType>
68 forceinline IntType
69 ceil_div_xp(IntType x, IntType y) {
70 assert(y >= 0);
71 return (x >= 0) ? ceil_div_pp(x,y) : -floor_div_pp(-x,y);
72 }
73 template<class IntType>
74 forceinline IntType
75 floor_div_xp(IntType x, IntType y) {

Callers 5

postFunction · 0.85
gqMethod · 0.85
grMethod · 0.85
propagateMethod · 0.85
propagateMethod · 0.85

Calls 2

ceil_div_ppFunction · 0.85
floor_div_ppFunction · 0.85

Tested by

no test coverage detected