Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ half>
Method
half>
src/backend/oneapi/math.hpp:81–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
79
80
template<>
81
inline auto is_nan<sycl::half>(const sycl::half &val) -> bool {
82
return sycl::isnan(val);
83
}
84
85
template<>
86
inline auto is_nan<float>(const float &val) -> bool {
Callers
nothing calls this directly
Calls
1
isnan
Function · 0.50
Tested by
no test coverage detected