Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
doctest::Approx Struct Reference

#include <doctest.h>

Public Member Functions

 Approx (double value)
 
Approx operator() (double value) const
 
Approxepsilon (double newEpsilon)
 
Approxscale (double newScale)
 

Data Fields

double m_epsilon
 
double m_scale
 
double m_value
 

Friends

DOCTEST_INTERFACE friend bool operator== (double lhs, const Approx &rhs)
 
DOCTEST_INTERFACE friend bool operator== (const Approx &lhs, double rhs)
 
DOCTEST_INTERFACE friend bool operator!= (double lhs, const Approx &rhs)
 
DOCTEST_INTERFACE friend bool operator!= (const Approx &lhs, double rhs)
 
DOCTEST_INTERFACE friend bool operator<= (double lhs, const Approx &rhs)
 
DOCTEST_INTERFACE friend bool operator<= (const Approx &lhs, double rhs)
 
DOCTEST_INTERFACE friend bool operator>= (double lhs, const Approx &rhs)
 
DOCTEST_INTERFACE friend bool operator>= (const Approx &lhs, double rhs)
 
DOCTEST_INTERFACE friend bool operator< (double lhs, const Approx &rhs)
 
DOCTEST_INTERFACE friend bool operator< (const Approx &lhs, double rhs)
 
DOCTEST_INTERFACE friend bool operator> (double lhs, const Approx &rhs)
 
DOCTEST_INTERFACE friend bool operator> (const Approx &lhs, double rhs)
 

Detailed Description

Definition at line 1210 of file doctest.h.

Constructor & Destructor Documentation

◆ Approx()

doctest::Approx::Approx ( double value)

Member Function Documentation

◆ epsilon()

Approx & doctest::Approx::epsilon ( double newEpsilon)

◆ operator()()

Approx doctest::Approx::operator() ( double value) const

◆ scale()

Approx & doctest::Approx::scale ( double newScale)

Friends And Related Symbol Documentation

◆ operator!= [1/2]

DOCTEST_INTERFACE friend bool operator!= ( const Approx & lhs,
double rhs )
friend

◆ operator!= [2/2]

DOCTEST_INTERFACE friend bool operator!= ( double lhs,
const Approx & rhs )
friend

◆ operator< [1/2]

DOCTEST_INTERFACE friend bool operator< ( const Approx & lhs,
double rhs )
friend

◆ operator< [2/2]

DOCTEST_INTERFACE friend bool operator< ( double lhs,
const Approx & rhs )
friend

◆ operator<= [1/2]

DOCTEST_INTERFACE friend bool operator<= ( const Approx & lhs,
double rhs )
friend

◆ operator<= [2/2]

DOCTEST_INTERFACE friend bool operator<= ( double lhs,
const Approx & rhs )
friend

◆ operator== [1/2]

DOCTEST_INTERFACE friend bool operator== ( const Approx & lhs,
double rhs )
friend

◆ operator== [2/2]

DOCTEST_INTERFACE friend bool operator== ( double lhs,
const Approx & rhs )
friend

◆ operator> [1/2]

DOCTEST_INTERFACE friend bool operator> ( const Approx & lhs,
double rhs )
friend

◆ operator> [2/2]

DOCTEST_INTERFACE friend bool operator> ( double lhs,
const Approx & rhs )
friend

◆ operator>= [1/2]

DOCTEST_INTERFACE friend bool operator>= ( const Approx & lhs,
double rhs )
friend

◆ operator>= [2/2]

DOCTEST_INTERFACE friend bool operator>= ( double lhs,
const Approx & rhs )
friend

Field Documentation

◆ m_epsilon

double doctest::Approx::m_epsilon

Definition at line 1282 of file doctest.h.

◆ m_scale

double doctest::Approx::m_scale

Definition at line 1283 of file doctest.h.

◆ m_value

double doctest::Approx::m_value

Definition at line 1284 of file doctest.h.


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