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

Function isFloating

src/backend/common/traits.hpp:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66constexpr bool isBool(af::dtype type) { return (type == b8); }
67
68constexpr bool isFloating(af::dtype type) {
69 return (!isInteger(type) && !isBool(type));
70}
71
72template<typename T, typename U, typename... Args>
73constexpr bool is_any_of() {

Callers 2

isFloatingMethod · 0.85
canOptimizeCastFunction · 0.85

Calls 2

isIntegerFunction · 0.85
isBoolFunction · 0.85

Tested by

no test coverage detected