MCPcopy Create free account
hub / github.com/Profactor/cv-plot / WithinAbsMatcher

Class WithinAbsMatcher

CvPlot/ext/catch2/inc/catch.hpp:3381–3388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers 1

WithinAbsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected