MCPcopy Create free account
hub / github.com/Gecode/gecode / operator ==

Function operator ==

gecode/float/val.hpp:293–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291 }
292
293 inline bool
294 operator ==(const FloatVal& x, const FloatVal& y) {
295 try {
296 return x.x == y.x;
297 } catch (gecode_boost::numeric::interval_lib::comparison_error&) {
298 return false;
299 }
300 }
301 inline bool
302 operator ==(const FloatVal& x, const FloatNum& y) {
303 if (!gecode_boost::numeric::interval_lib::checking_strict<FloatNum>

Callers

nothing calls this directly

Calls 3

nextafterFunction · 0.85
lowerMethod · 0.45
upperMethod · 0.45

Tested by

no test coverage detected