MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / WithinUlpsMatcher

Class WithinUlpsMatcher

tests/catch.hpp:3035–3043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

WithinULPFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected