| 3033 | }; |
| 3034 | |
| 3035 | struct WithinUlpsMatcher : MatcherBase<double> { |
| 3036 | WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType); |
| 3037 | bool match(double const& matchee) const override; |
| 3038 | std::string describe() const override; |
| 3039 | private: |
| 3040 | double m_target; |
| 3041 | int m_ulps; |
| 3042 | FloatingPointKind m_type; |
| 3043 | }; |
| 3044 | |
| 3045 | } // namespace Floating |
| 3046 |