Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ nroot
Function
nroot
gecode/float/val.hpp:380–383 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
378
return FloatVal(pow(x.x,n));
379
}
380
forceinline FloatVal
381
nroot(const FloatVal& x, int n) {
382
return FloatVal(nth_root(x.x,n));
383
}
384
385
forceinline FloatVal
386
max(const FloatVal& x, const FloatVal& y) {
Callers
12
solution
Method · 0.50
post
Method · 0.50
solution
Method · 0.50
extendAssignment
Method · 0.50
post
Method · 0.50
solution
Method · 0.50
post
Method · 0.50
post
Method · 0.50
post
Method · 0.50
CartesianHeart
Method · 0.50
post
Method · 0.50
propagate
Method · 0.50
Calls
2
FloatVal
Class · 0.85
nth_root
Function · 0.85
Tested by
no test coverage detected