FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Catch::Matchers::Floating::WithinUlpsMatcher Struct Reference
Inheritance diagram for Catch::Matchers::Floating::WithinUlpsMatcher:

Public Member Functions

 WithinUlpsMatcher (double target, int ulps, FloatingPointKind baseType)
 
bool match (double const &matchee) const override
 
std::string describe () const override
 

Private Attributes

double m_target
 
int m_ulps
 
FloatingPointKind m_type
 

Constructor & Destructor Documentation

Catch::Matchers::Floating::WithinUlpsMatcher::WithinUlpsMatcher ( double  target,
int  ulps,
FloatingPointKind  baseType 
)

Member Function Documentation

std::string Catch::Matchers::Floating::WithinUlpsMatcher::describe ( ) const
override
bool Catch::Matchers::Floating::WithinUlpsMatcher::match ( double const &  matchee) const
override

Field Documentation

double Catch::Matchers::Floating::WithinUlpsMatcher::m_target
private
FloatingPointKind Catch::Matchers::Floating::WithinUlpsMatcher::m_type
private
int Catch::Matchers::Floating::WithinUlpsMatcher::m_ulps
private