| 2365 | enum class FloatingPointKind : uint8_t; |
| 2366 | |
| 2367 | struct WithinAbsMatcher : MatcherBase<double> { |
| 2368 | WithinAbsMatcher(double target, double margin); |
| 2369 | bool match(double const& matchee) const override; |
| 2370 | std::string describe() const override; |
| 2371 | private: |
| 2372 | double m_target; |
| 2373 | double m_margin; |
| 2374 | }; |
| 2375 | |
| 2376 | struct WithinUlpsMatcher : MatcherBase<double> { |
| 2377 | WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType); |