MCPcopy Create free account
hub / github.com/apache/arrow / AssertWithinUlpGeneric

Function AssertWithinUlpGeneric

cpp/src/arrow/testing/math.cc:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52template <typename Float>
53void AssertWithinUlpGeneric(Float left, Float right, int32_t n_ulps) {
54 if (!WithinUlpGeneric(left, right, n_ulps)) {
55 FAIL() << left << " and " << right << " are not within " << n_ulps << " ulps";
56 }
57}
58
59} // namespace
60

Callers 1

AssertWithinUlpFunction · 0.85

Calls 1

WithinUlpGenericFunction · 0.70

Tested by

no test coverage detected