Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ WithinUlpGeneric
Function
WithinUlpGeneric
cpp/src/arrow/util/ulp_distance.cc:85–89 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
83
84
template <typename Float>
85
bool WithinUlpGeneric(Float left, Float right, int32_t n_ulps) {
86
DCHECK_GE(n_ulps, 0);
87
return UlpDistanceUtil<Float>::UlpDistance(left, right) <=
88
static_cast<uint64_t>(n_ulps);
89
}
90
91
} // namespace
92
Callers
1
WithinUlp
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected