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

Function isInteger

src/backend/common/traits.hpp:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61constexpr bool isInteger(af::dtype type) {
62 return (type == s32 || type == u32 || type == s64 || type == u64 ||
63 type == s16 || type == u16 || type == s8 || type == u8);
64}
65
66constexpr bool isBool(af::dtype type) { return (type == b8); }
67

Callers 2

isFloatingFunction · 0.85
isIntegerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected