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) |
Floating-point comparison helpers.