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

Function division

src/backend/oneapi/math.cpp:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace oneapi {
15
16cfloat division(cfloat lhs, double rhs) {
17 cfloat retVal(real(lhs) / rhs, imag(lhs) / rhs);
18 return retVal;
19}
20
21cdouble division(cdouble lhs, double rhs) {
22 cdouble retVal(real(lhs) / rhs, imag(lhs) / rhs);

Callers

nothing calls this directly

Calls 2

realFunction · 0.70
imagFunction · 0.70

Tested by

no test coverage detected