Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ rsqrt
Function
rsqrt
test/math.cpp:44–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
43
template<typename T>
44
T rsqrt(T in) {
45
return T(1.0 / sqrt(in));
46
}
47
48
#define MATH_TEST(T, func, err, lo, hi) \
49
TEST(Math, func##_##T) { \
Callers
nothing calls this directly
Calls
1
sqrt
Function · 0.85
Tested by
no test coverage detected