Euphoria
approx.h File Reference
#include <cmath>
#include <limits>
#include "catch2/catch_all.hpp"

Go to the source code of this file.

Classes

struct  eu::tests::ApproxData
 
struct  eu::tests::custom::Approx< T >
 

Namespaces

 eu
 
 eu::tests
 
 eu::tests::custom
 

Functions

template<typename T >
bool eu::tests::is_approximately_equal (const T &lhs, const T &rhs, const ApproxData &data)
 
template<>
bool eu::tests::is_approximately_equal (float const &lhs, float const &rhs, const ApproxData &data)
 
template<typename T >
std::ostream & eu::tests::operator<< (std::ostream &stream, const custom::Approx< T > &v)
 
template<typename T >
custom::Approx< T > eu::tests::approx (T const &t)