Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Header <boost/test/tools/floating_point_comparison.hpp>

Boost , Boost.Test , Reference

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

алгоритмы сравнения значений плавающей точки

namespace boost {
  namespace math {
    namespace fpc {
      template<typename T, bool enabled> struct tolerance_based_delegate;
      template<typename T> struct tolerance_based_delegate<T, false>;
      template<typename T> struct tolerance_based_delegate<T, true>;
      template<typename T> struct tolerance_based;
      template<typename FPT> struct percent_tolerance_t;
      template<typename FPT> class close_at_tolerance;
      template<typename FPT> class small_with_tolerance;
      // Method for comparing floating point numbers. 
      enum strength { FPC_STRONG, FPC_WEAK };
      template<typename FPT> 
        std::ostream & 
        operator<<(std::ostream & out, percent_tolerance_t< FPT > t);
      template<typename FPT> 
        percent_tolerance_t< FPT > percent_tolerance(FPT v);
      template<typename FPT> bool is_small(FPT fpv, FPT tolerance);
    }
  }
}

PrevUpHomeNext

Статья Header <boost/test/tools/floating_point_comparison.hpp> раздела Boost.Test Reference может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Reference ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 20:56:41/0.0060720443725586/0