| 4642 | } |
| 4643 | |
| 4644 | std::string Approx::toString() const { |
| 4645 | ReusableStringStream rss; |
| 4646 | rss << "Approx( " << ::Catch::Detail::stringify( m_value ) << " )"; |
| 4647 | return rss.str(); |
| 4648 | } |
| 4649 | |
| 4650 | bool Approx::equalityComparisonImpl(const double other) const { |
| 4651 | // First try with fixed margin, then compute margin based on epsilon, scale and Approx's value |