NCBI C++ ToolKit
Namespaces | Classes | Enumerations | Functions
ncbi::boost_fp_impl Namespace Reference

Namespaces

 tt_detail
 

Classes

struct  percent_tolerance_t
 
struct  fraction_tolerance_t
 
class  close_at_tolerance
 
struct  check_is_close_t
 
struct  check_is_small_t
 

Enumerations

enum  floating_point_comparison_type { FPC_STRONG , FPC_WEAK }
 

Functions

template<typename Out , typename FPT >
Outoperator<< (Out &out, percent_tolerance_t< FPT > t)
 
template<typename FPT >
percent_tolerance_t< FPT > percent_tolerance (FPT v)
 
template<typename Out , typename FPT >
Outoperator<< (Out &out, fraction_tolerance_t< FPT > t)
 
template<typename FPT >
fraction_tolerance_t< FPT > fraction_tolerance (FPT v)
 

Enumeration Type Documentation

◆ floating_point_comparison_type

Enumerator
FPC_STRONG 
FPC_WEAK 

Definition at line 46 of file floating_point_comparison.hpp.

Function Documentation

◆ fraction_tolerance()

template<typename FPT >
fraction_tolerance_t<FPT> ncbi::boost_fp_impl::fraction_tolerance ( FPT  v)
inline

Definition at line 156 of file floating_point_comparison.hpp.

Referenced by g_FloatingPoint_Compare().

◆ operator<<() [1/2]

template<typename Out , typename FPT >
Out& ncbi::boost_fp_impl::operator<< ( Out out,
fraction_tolerance_t< FPT >  t 
)

Definition at line 147 of file floating_point_comparison.hpp.

References out(), and t.

◆ operator<<() [2/2]

template<typename Out , typename FPT >
Out& ncbi::boost_fp_impl::operator<< ( Out out,
percent_tolerance_t< FPT >  t 
)

Definition at line 121 of file floating_point_comparison.hpp.

References out(), and t.

◆ percent_tolerance()

template<typename FPT >
percent_tolerance_t<FPT> ncbi::boost_fp_impl::percent_tolerance ( FPT  v)
inline

Definition at line 130 of file floating_point_comparison.hpp.

Referenced by g_FloatingPoint_Compare().

Modified on Sat Feb 24 07:47:41 2024 by modify_doxy.py rev. 669887