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

Function CheckWithinUlpSingle

cpp/src/arrow/testing/gtest_util_test.cc:184–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182
183template <typename Float>
184void CheckWithinUlpSingle(Float x, Float y, int n_ulp) {
185 ARROW_SCOPED_TRACE("x = ", x, ", y = ", y, ", n_ulp = ", n_ulp);
186 ASSERT_TRUE(WithinUlp(x, y, n_ulp));
187}
188
189template <typename Float>
190void CheckNotWithinUlpSingle(Float x, Float y, int n_ulp) {

Callers 1

CheckWithinUlpFunction · 0.85

Calls 1

WithinUlpFunction · 0.85

Tested by

no test coverage detected