Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ any
Function
any
gecode/float/arithmetic/mult.hpp:52–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
/// Test whether \a x is neither positive nor negative
51
template<class View>
52
forceinline bool
53
any(const View& x) {
54
return (x.min() <= 0.0) && (x.max() >= 0.0);
55
}
56
57
/*
58
* Propagator for x * y = x
Callers
1
propagate
Method · 0.70
Calls
2
min
Method · 0.45
max
Method · 0.45
Tested by
no test coverage detected