Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

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