Class Approx

Class Documentation

class Approx

Public Functions

explicit Approx(double value)
Approx operator-() const
template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline Approx operator()(T const &value) const
template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline explicit Approx(T const &value)
template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline Approx &epsilon(T const &newEpsilon)
template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline Approx &margin(T const &newMargin)
template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline Approx &scale(T const &newScale)
std::string toString() const

Public Static Functions

static Approx custom()

Friends

template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline friend bool operator==(const T &lhs, Approx const &rhs)
template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline friend bool operator==(Approx const &lhs, const T &rhs)
template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline friend bool operator!=(T const &lhs, Approx const &rhs)
template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline friend bool operator!=(Approx const &lhs, T const &rhs)
template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline friend bool operator<=(T const &lhs, Approx const &rhs)
template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline friend bool operator<=(Approx const &lhs, T const &rhs)
template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline friend bool operator>=(T const &lhs, Approx const &rhs)
template<typename T, typename = std::enable_if_t<std::is_constructible<double, T>::value>>
inline friend bool operator>=(Approx const &lhs, T const &rhs)