| 3379 | enum class FloatingPointKind : uint8_t; |
| 3380 | |
| 3381 | struct WithinAbsMatcher : MatcherBase<double> { |
| 3382 | WithinAbsMatcher(double target, double margin); |
| 3383 | bool match(double const& matchee) const override; |
| 3384 | std::string describe() const override; |
| 3385 | private: |
| 3386 | double m_target; |
| 3387 | double m_margin; |
| 3388 | }; |
| 3389 | |
| 3390 | struct WithinUlpsMatcher : MatcherBase<double> { |
| 3391 | WithinUlpsMatcher(double target, uint64_t ulps, FloatingPointKind baseType); |