Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ val
Method
val
gecode/int/arithmetic/pow.hpp:291–296 ·
view source on GitHub ↗
Perform mapping
Source
from the content-addressed store, hash-verified
289
forceinline ValuesMapNrootSigned(const Ops& o) : ops(o) {}
290
/// Perform mapping
291
forceinline int val(int x) const {
292
if (x < 0)
293
return -ops.fnroot(-x);
294
else
295
return ops.fnroot(x);
296
}
297
};
298
299
Callers
nothing calls this directly
Calls
1
fnroot
Method · 0.80
Tested by
no test coverage detected