MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / log2

Function log2

extern/half/include/half.hpp:2372–2372  ·  view source on GitHub ↗

Binary logorithm. \param arg function argument \return logarithm of \a arg to base 2 template typename enable ::type log2(T arg) { return functions::log2(arg); }

Source from the content-addressed store, hash-verified

2370 /// \return logarithm of \a arg to base 2
2371// template<typename T> typename enable<expr,T>::type log2(T arg) { return functions::log2(arg); }
2372 inline expr log2(half arg) { return functions::log2(arg); }
2373 inline expr log2(expr arg) { return functions::log2(arg); }
2374
2375 /// \}

Callers 3

log2Method · 0.85
fftconvolveTestLargeFunction · 0.85
reproduceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected