Euphoria
|
eu::tests::custom::Approx< T > Struct Template Reference
#include <approx.h>
Public Member Functions | |
Approx (T v) | |
Approx & | set_epsilon (float new_epsilon) |
Approx & | set_margin (float new_margin) |
Approx & | set_scale (float new_scale) |
std::string | to_string () const |
Friends | |
bool | operator== (T lhs, Approx< T > const &rhs) |
bool | operator== (Approx< T > const &lhs, T rhs) |
bool | operator!= (T lhs, Approx< T > const &rhs) |
bool | operator!= (Approx< T > const &lhs, T rhs) |
Detailed Description
Constructor & Destructor Documentation
◆ Approx()
template<typename T >
|
inlineexplicit |
Member Function Documentation
◆ set_epsilon()
template<typename T >
|
inline |
◆ set_margin()
template<typename T >
|
inline |
◆ set_scale()
template<typename T >
|
inline |
◆ to_string()
template<typename T >
|
inline |
Friends And Related Function Documentation
◆ operator!= [1/2]
template<typename T >
|
friend |
◆ operator!= [2/2]
template<typename T >
|
friend |
◆ operator== [1/2]
template<typename T >
|
friend |
◆ operator== [2/2]
template<typename T >
|
friend |
The documentation for this struct was generated from the following file:
- libs/tests/src/tests/approx.h