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

Function isSingle

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

Source from the content-addressed store, hash-verified

51constexpr bool isDouble(af::dtype type) { return (type == f64 || type == c64); }
52
53constexpr bool isSingle(af::dtype type) { return (type == f32 || type == c32); }
54
55constexpr bool isHalf(af::dtype type) { return (type == f16); }
56

Callers 1

isSingleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected