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

Method WithinUlpsMatcher

tests/catch.hpp:9172–9176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9170 }
9171
9172 WithinUlpsMatcher::WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType)
9173 :m_target{ target }, m_ulps{ ulps }, m_type{ baseType } {
9174 CATCH_ENFORCE(ulps >= 0, "Invalid ULP setting: " << ulps << '.'
9175 << " ULPs have to be non-negative.");
9176 }
9177
9178#if defined(__clang__)
9179#pragma clang diagnostic push

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected