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

Method max

gecode/int/arithmetic/nroot.hpp:282–284  ·  view source on GitHub ↗

Perform mapping of maximum

Source from the content-addressed store, hash-verified

280 }
281 /// Perform mapping of maximum
282 forceinline int max(int x) const {
283 return (x < 0) ? -ops.cnroot(-x) : ops.fnroot(x);
284 }
285 };
286
287 template<class Ops, bool minus>

Callers

nothing calls this directly

Calls 2

cnrootMethod · 0.80
fnrootMethod · 0.80

Tested by

no test coverage detected