MCPcopy 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
43template<typename T>
44T 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

sqrtFunction · 0.85

Tested by

no test coverage detected