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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
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 {
  // construct/copy/destruct
  explicit percent_tolerance_t(FPT);

  // public data members
  FPT m_value;
};

Description

percent_tolerance_t public construct/copy/destruct

  1. explicit percent_tolerance_t(FPT v);

PrevUpHomeNext