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 02:46:22
#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@â¦):
Yes, I agree that the principle of least-surprise ought to apply to
BOOST_TEST.
Perhaps we ought to cast to bool as a matter of best practice.
{{{
BOOST_TEST( bool(fabs(a-b) < 1e-16) )
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/13011#comment:3> 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 02:49:29 UTC