Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ pos
Function
pos
gecode/float/arithmetic/mult.hpp:40–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
/// Test whether \a x is positive
39
template<class View>
40
forceinline bool
41
pos(const View& x) {
42
return x.min() >= 0.0;
43
}
44
/// Test whether \a x is negative
45
template<class View>
46
forceinline bool
Callers
2
propagate
Method · 0.70
post
Method · 0.70
Calls
1
min
Method · 0.45
Tested by
no test coverage detected