MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / is_nan

Function is_nan

src/backend/cpu/math.hpp:47–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46template<typename T>
47static inline auto is_nan(const T &val) -> bool {
48 return false;
49}
50
51template<>
52inline auto is_nan<float>(const float &val) -> bool {

Callers 2

MinMaxOpMethod · 0.50
MinMaxOpMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected