[Boost-bugs] [Boost C++ Libraries] #6853: [ICL] boost::icl::contains(NaN) returns true

Subject: [Boost-bugs] [Boost C++ Libraries] #6853: [ICL] boost::icl::contains(NaN) returns true
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-01 18:41:35


#6853: [ICL] boost::icl::contains(NaN) returns true
----------------------------------------------+-----------------------------
 Reporter: Andrew Hundt <ATHundt@…> | Owner: jofaber
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: ICL
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: icl |
----------------------------------------------+-----------------------------
 I called something similar to the following, which should return false but
 instead returned true:
 boost::icl::contains(std::numeric_limits<double>::quiet_NaN(),
 boost::icl::valid_range_type::closed(1,30))

 The compilers tested for this include gcc 4.2 on OpenSuSE 11.1 and clang
 3.1 on OS X Lion.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6853>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC