MCPcopy Create free account
hub / github.com/Gecode/gecode / zero_in

Function zero_in

gecode/third-party/boost/numeric/interval/utility.hpp:103–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103template<class T, class Policies> inline
104bool zero_in(const interval<T, Policies>& x)
105{
106 if (interval_lib::detail::test_input(x)) return false;
107 return (!interval_lib::user::is_pos(x.lower())) &&
108 (!interval_lib::user::is_neg(x.upper()));
109}
110
111template<class T, class Policies> inline
112bool in_zero(const interval<T, Policies>& x) // DEPRECATED

Callers 4

zero_inMethod · 0.85
operator/Function · 0.85
division_part1Function · 0.85
multiplicative_inverseFunction · 0.85

Calls 5

test_inputFunction · 0.85
is_posFunction · 0.85
is_negFunction · 0.85
lowerMethod · 0.45
upperMethod · 0.45

Tested by

no test coverage detected