Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
cnroot
Method · 0.80
fnroot
Method · 0.80
Tested by
no test coverage detected