| 2374 | }; |
| 2375 | |
| 2376 | struct WithinUlpsMatcher : MatcherBase<double> { |
| 2377 | WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType); |
| 2378 | bool match(double const& matchee) const override; |
| 2379 | std::string describe() const override; |
| 2380 | private: |
| 2381 | double m_target; |
| 2382 | int m_ulps; |
| 2383 | FloatingPointKind m_type; |
| 2384 | }; |
| 2385 | |
| 2386 | } // namespace Floating |
| 2387 |