boost::test_tools::tolerance
// In header: <boost/test/tools/detail/tolerance_manip.hpp> template<typename FPT> unspecified tolerance(FPT v);
Tolerance manipulator
These functions return a manipulator that can be used in conjunction with BOOST_TEST in order to specify the tolerance with which floating point comparisons are made.