| 2243 | }; |
| 2244 | |
| 2245 | struct WithinUlpsMatcher : MatcherBase<double> { |
| 2246 | WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType); |
| 2247 | bool match(double const &matchee) const override; |
| 2248 | std::string describe() const override; |
| 2249 | |
| 2250 | private: |
| 2251 | double m_target; |
| 2252 | int m_ulps; |
| 2253 | FloatingPointKind m_type; |
| 2254 | }; |
| 2255 | |
| 2256 | } // namespace Floating |
| 2257 |