Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template tolerance

boost::test_tools::tolerance

Synopsis

// In header: <boost/test/tools/detail/tolerance_manip.hpp>


template<typename FPT> unspecified tolerance(FPT v);

Description

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.


PrevUpHomeNext