Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ valid
Method
valid
gecode/int/limits.hpp:36–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
namespace Gecode { namespace Int {
35
36
inline bool
37
Limits::valid(int n) {
38
return ((n >= min) && (n <= max));
39
}
40
inline bool
41
Limits::valid(long long int n) {
42
return ((n >= min) && (n <= max));
Callers
2
symmetric
Method · 0.45
update
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected