Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
namespace oneapi {
15
16
cfloat division(cfloat lhs, double rhs) {
17
cfloat retVal(real(lhs) / rhs, imag(lhs) / rhs);
18
return retVal;
19
}
20
21
cdouble division(cdouble lhs, double rhs) {
22
cdouble retVal(real(lhs) / rhs, imag(lhs) / rhs);
Callers
nothing calls this directly
Calls
2
real
Function · 0.70
imag
Function · 0.70
Tested by
no test coverage detected