Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ rem
Function
rem
test/binary.cpp:44–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
43
template<typename T>
44
T rem(T x, T y) {
45
return remainder(x, y);
46
}
47
48
af::array randgen(const int num, dtype ty) {
49
af::array tmp = round(1 + 2 * af::randu(num, f32)).as(ty);
Callers
1
TEST
Function · 0.85
Calls
1
remainder
Function · 0.85
Tested by
no test coverage detected