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, uint64_t ulps, FloatingPointKind baseType)
 

Private Attributes

double m_target
 
FloatingPointKind m_type
 
uint64_t m_ulps
 

Detailed Description

Definition at line 3435 of file catch.hpp.

Constructor & Destructor Documentation

Catch::Matchers::Floating::WithinUlpsMatcher::WithinUlpsMatcher ( double  target,
uint64_t  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 3440 of file catch.hpp.

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

Definition at line 3442 of file catch.hpp.

uint64_t Catch::Matchers::Floating::WithinUlpsMatcher::m_ulps
private

Definition at line 3441 of file catch.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36