Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
49
constexpr bool isReal(af::dtype type) { return !isComplex(type); }
50
51
constexpr bool isDouble(af::dtype type) { return (type == f64 || type == c64); }
52
53
constexpr bool isSingle(af::dtype type) { return (type == f32 || type == c32); }
54
Callers
1
isDouble
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected