id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5931,numeric::interval equal comparison is strange,Per Karlström ,Boris Gubenko,"I find that the interval operator== is somewhat strange. Either I have not got exactly how an interval equality operator is supposed to work. Or it is plain wrong. Anyway here is the offending code from boost/numeric/interval/interval.hpp lines 363 to 371 template inline bool interval::operator== (const interval_holder& r) const { if (!checking::is_empty(low, up)) { if (up == r.low && low == r.up) return true; else if (up < r.low || low > r.up) return false; } throw interval_lib::comparison_error(); } What surpprises me is how up is compared with r.low and low is comared with r.up",Bugs,closed,To Be Determined,interval,Boost 1.47.0,Showstopper,invalid,,