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

Function WithinUlp

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

Source from the content-addressed store, hash-verified

117} // namespace
118
119bool WithinUlp(util::Float16 left, util::Float16 right, int n_ulps) {
120 return WithinUlpGeneric(left, right, n_ulps);
121}
122
123bool WithinUlp(float left, float right, int n_ulps) {
124 return WithinUlpGeneric(left, right, n_ulps);

Callers 2

CheckWithinUlpSingleFunction · 0.85
CheckNotWithinUlpSingleFunction · 0.85

Calls 1

WithinUlpGenericFunction · 0.85

Tested by 2

CheckWithinUlpSingleFunction · 0.68
CheckNotWithinUlpSingleFunction · 0.68