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

Struct template percent_tolerance_t

boost::math::fpc::percent_tolerance_t

Synopsis

// In header: <boost/test/tools/floating_point_comparison.hpp>

template<typename FPT> 
struct percent_tolerance_t {

  // public member functions
  explicit percent_tolerance_t(FPT);

  // public data members
  FPT m_value;
};

Description

percent_tolerance_t public member functions

  1. explicit percent_tolerance_t(FPT v);

PrevUpHomeNext