Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ neg
Function
neg
gecode/int/arithmetic/mult.hpp:75–78 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
/// Test whether \a x is negative
74
template<class View>
75
forceinline bool
76
neg(const View& x) {
77
return x.max() < 0;
78
}
79
/// Test whether \a x is neither positive nor negative
80
template<class View>
81
forceinline bool
Callers
10
propagate
Method · 0.70
post
Method · 0.70
propagate
Method · 0.70
post
Method · 0.70
post
Method · 0.50
post
Method · 0.50
post
Method · 0.50
post
Function · 0.50
propagate
Method · 0.50
post
Method · 0.50
Calls
1
max
Method · 0.45
Tested by
no test coverage detected