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

Function CheckWithinUlpSingle

cpp/src/arrow/util/ulp_distance_test.cc:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34template <typename Float>
35void CheckWithinUlpSingle(Float x, Float y, int32_t n_ulp) {
36 ARROW_SCOPED_TRACE("x = ", x, ", y = ", y, ", n_ulp = ", n_ulp);
37 ASSERT_TRUE(WithinUlp(x, y, n_ulp));
38}
39
40template <typename Float>
41void CheckNotWithinUlpSingle(Float x, Float y, int n_ulp) {

Callers 1

CheckWithinUlpFunction · 0.85

Calls 1

WithinUlpFunction · 0.85

Tested by

no test coverage detected