MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / WithinULP

Function WithinULP

unittests/catch.hpp:8000–8002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7998}// namespace Floating
7999
8000Floating::WithinUlpsMatcher WithinULP(double target, int maxUlpDiff) {
8001 return Floating::WithinUlpsMatcher(target, maxUlpDiff, Floating::FloatingPointKind::Double);
8002}
8003
8004Floating::WithinUlpsMatcher WithinULP(float target, int maxUlpDiff) {
8005 return Floating::WithinUlpsMatcher(target, maxUlpDiff, Floating::FloatingPointKind::Float);

Callers

nothing calls this directly

Calls 1

WithinUlpsMatcherClass · 0.85

Tested by

no test coverage detected