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

Function isDouble

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

Source from the content-addressed store, hash-verified

49constexpr bool isReal(af::dtype type) { return !isComplex(type); }
50
51constexpr bool isDouble(af::dtype type) { return (type == f64 || type == c64); }
52
53constexpr bool isSingle(af::dtype type) { return (type == f32 || type == c32); }
54

Callers 1

isDoubleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected