Public Member Functions | Private Attributes | List of all members
Catch::Matchers::Floating::WithinUlpsMatcher Struct Reference

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::Floating::WithinUlpsMatcher:
Inheritance graph
[legend]

Public Member Functions

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

Private Attributes

double m_target
 
FloatingPointKind m_type
 
int m_ulps
 

Detailed Description

Definition at line 2598 of file catch.hpp.

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

Member Data Documentation

double Catch::Matchers::Floating::WithinUlpsMatcher::m_target
private

Definition at line 2603 of file catch.hpp.

FloatingPointKind Catch::Matchers::Floating::WithinUlpsMatcher::m_type
private

Definition at line 2605 of file catch.hpp.

int Catch::Matchers::Floating::WithinUlpsMatcher::m_ulps
private

Definition at line 2604 of file catch.hpp.


The documentation for this struct was generated from the following file:


catch_ros
Author(s): Max Schwarz
autogenerated on Sat Jun 8 2019 17:59:58