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

Function width

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

Source from the content-addressed store, hash-verified

62}
63
64template<class T, class Policies> inline
65T width(const interval<T, Policies>& x)
66{
67 if (interval_lib::detail::test_input(x)) return static_cast<T>(0);
68 typename Policies::rounding rnd;
69 return rnd.sub_up(x.upper(), x.lower());
70}
71
72template<class T, class Policies> inline
73T median(const interval<T, Policies>& x)

Callers 10

NonogramMethod · 0.85
printMethod · 0.85
rowMethod · 0.85
paintEventMethod · 0.85
sizeMethod · 0.85
cosFunction · 0.85
widthMethod · 0.85
widthMethod · 0.85
narrow_rMethod · 0.85
wordsMethod · 0.85

Calls 4

test_inputFunction · 0.85
sub_upMethod · 0.45
upperMethod · 0.45
lowerMethod · 0.45

Tested by

no test coverage detected