| 7893 | } |
| 7894 | |
| 7895 | std::string Approx::toString() const { |
| 7896 | ReusableStringStream rss; |
| 7897 | rss << "Approx( " << ::Catch::Detail::stringify( m_value ) << " )"; |
| 7898 | return rss.str(); |
| 7899 | } |
| 7900 | |
| 7901 | bool Approx::equalityComparisonImpl(const double other) const { |
| 7902 | // First try with fixed margin, then compute margin based on epsilon, scale and Approx's value |