MCPcopy 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
43template<typename T>
44T rem(T x, T y) {
45 return remainder(x, y);
46}
47
48af::array randgen(const int num, dtype ty) {
49 af::array tmp = round(1 + 2 * af::randu(num, f32)).as(ty);

Callers 1

TESTFunction · 0.85

Calls 1

remainderFunction · 0.85

Tested by

no test coverage detected