Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
floating_point_comparison.hpp File Reference
#include <boost/test/detail/global_typedef.hpp>
#include <boost/test/utils/class_properties.hpp>
#include <boost/test/predicate_result.hpp>
#include <boost/limits.hpp>
#include <boost/numeric/conversion/conversion_traits.hpp>
#include <boost/static_assert.hpp>
#include <boost/test/detail/suppress_warnings.hpp>
#include <boost/test/detail/enable_warnings.hpp>
Include dependency graph for floating_point_comparison.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::test_tools::tt_detail::fpt_limits< FPT >
 
struct  boost::test_tools::percent_tolerance_t< FPT >
 
struct  boost::test_tools::fraction_tolerance_t< FPT >
 
class  boost::test_tools::close_at_tolerance< FPT >
 
struct  boost::test_tools::check_is_close_t
 
struct  boost::test_tools::check_is_small_t
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::test_tools
 
 boost::test_tools::tt_detail
 

Enumerations

enum  boost::test_tools::floating_point_comparison_type {
  boost::test_tools::FPC_STRONG,
  boost::test_tools::FPC_WEAK
}
 

Functions

template<typename FPT >
FPT boost::test_tools::tt_detail::fpt_abs (FPT fpv)
 
template<typename FPT >
FPT boost::test_tools::tt_detail::safe_fpt_division (FPT f1, FPT f2)
 
template<typename Out , typename FPT >
Out & boost::test_tools::operator<< (Out &out, percent_tolerance_t< FPT > t)
 
template<typename FPT >
percent_tolerance_t< FPT > boost::test_tools::percent_tolerance (FPT v)
 
template<typename Out , typename FPT >
Out & boost::test_tools::operator<< (Out &out, fraction_tolerance_t< FPT > t)
 
template<typename FPT >
fraction_tolerance_t< FPT > boost::test_tools::fraction_tolerance (FPT v)