Molassembler  3.0.0
Molecule graph and conformer library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Scine::Molassembler::Temple::Floating Namespace Reference

Floating-point comparison helpers. More...

Data Structures

class  ExpandedAbsoluteEqualityComparator
 
class  ExpandedRelativeEqualityComparator
 

Functions

template<typename T >
constexpr std::enable_if_t
< std::is_floating_point< T >
::value, bool > 
isCloseRelative (T a, T b, T relativeTolerance)
 
template<typename T >
constexpr std::enable_if_t
< std::is_floating_point< T >
::value, bool > 
isCloseAbsolute (T a, T b, T absoluteTolerance)
 
template<typename T >
PURITY_STRONG constexpr
std::enable_if_t
< std::is_floating_point< T >
::value, bool > 
isCloseRelative (const T a, const T b, const T relativeTolerance)
 
template<typename T >
PURITY_STRONG constexpr
std::enable_if_t
< std::is_floating_point< T >
::value, bool > 
isCloseAbsolute (const T a, const T b, const T absoluteTolerance)
 

Detailed Description

Floating-point comparison helpers.