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

Function isRealFloating

src/backend/common/traits.hpp:57–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55constexpr bool isHalf(af::dtype type) { return (type == f16); }
56
57constexpr bool isRealFloating(af::dtype type) {
58 return (type == f64 || type == f32 || type == f16);
59}
60
61constexpr bool isInteger(af::dtype type) {
62 return (type == s32 || type == u32 || type == s64 || type == u64 ||

Callers 1

isRealFloatingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected