| 7575 | } |
| 7576 | |
| 7577 | std::string Approx::toString() const { |
| 7578 | ReusableStringStream rss; |
| 7579 | rss << "Approx( " << ::Catch::Detail::stringify( m_value ) << " )"; |
| 7580 | return rss.str(); |
| 7581 | } |
| 7582 | |
| 7583 | bool Approx::equalityComparisonImpl(const double other) const { |
| 7584 | // First try with fixed margin, then compute margin based on epsilon, scale and Approx's value |