| 11118 | } |
| 11119 | |
| 11120 | std::string WithinAbsMatcher::describe() const { |
| 11121 | return "is within " + ::Catch::Detail::stringify(m_margin) + " of " + ::Catch::Detail::stringify(m_target); |
| 11122 | } |
| 11123 | |
| 11124 | WithinUlpsMatcher::WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType) |
| 11125 | :m_target{ target }, m_ulps{ ulps }, m_type{ baseType } { |