MCPcopy 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

34namespace 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

symmetricMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected