Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13011: BOOST_TEST broken with floating point relational operators
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-05-06 00:19:49
#13011: BOOST_TEST broken with floating point relational operators
-------------------------------+------------------------
Reporter: chris42f@⦠| Owner: rogeeff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
Version: Boost 1.63.0 | Severity: Regression
Resolution: | Keywords:
-------------------------------+------------------------
Comment (by nigels.com@â¦):
Seems be due to BOOST_TEST handling of floating point comparison.
This passes, for example:
{{{
#define BOOST_TEST_MODULE test
#include <boost/test/included/unit_test.hpp>
BOOST_AUTO_TEST_CASE(Foo)
{
BOOST_TEST(0.001 < 0.002);
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/13011#comment:1> 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-05-06 00:22:53 UTC