Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ pos
Function
pos
gecode/int/arithmetic/mult.hpp:69–72 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
/// Test whether \a x is positive
68
template<class View>
69
forceinline bool
70
pos(const View& x) {
71
return x.min() > 0;
72
}
73
/// Test whether \a x is negative
74
template<class View>
75
forceinline bool
Callers
8
propagate
Method · 0.70
post
Method · 0.70
ExecStatus prop_mult_plus_bnd
Function · 0.70
propagate
Method · 0.70
post
Method · 0.70
get
Method · 0.50
set
Method · 0.50
choice
Method · 0.50
Calls
1
min
Method · 0.45
Tested by
no test coverage detected