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

Function AssertWithinUlpGeneric

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

Source from the content-addressed store, hash-verified

109
110template <typename Float>
111void AssertWithinUlpGeneric(Float left, Float right, int n_ulps) {
112 if (!WithinUlpGeneric(left, right, n_ulps)) {
113 FAIL() << left << " and " << right << " are not within " << n_ulps << " ulps";
114 }
115}
116
117} // namespace
118

Callers 1

AssertWithinUlpFunction · 0.85

Calls 1

WithinUlpGenericFunction · 0.85

Tested by

no test coverage detected