| 7799 | } |
| 7800 | |
| 7801 | std::string Approx::toString() const { |
| 7802 | ReusableStringStream rss; |
| 7803 | rss << "Approx( " << ::Catch::Detail::stringify( m_value ) << " )"; |
| 7804 | return rss.str(); |
| 7805 | } |
| 7806 | |
| 7807 | bool Approx::equalityComparisonImpl(const double other) const { |
| 7808 | // First try with fixed margin, then compute margin based on epsilon, scale and Approx's value |