MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / log

Function log

samples/common/half.h:3111–3114  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

3109/// \return logarithm of \a arg to base e
3110// template<typename T> typename enable<expr,T>::type log(T arg) { return functions::log(arg); }
3111inline expr log(half arg)
3112{
3113 return functions::log(arg);
3114}
3115inline expr log(expr arg)
3116{
3117 return functions::log(arg);

Callers 7

logMethod · 0.70
log1pMethod · 0.70
log2Method · 0.70
asinhMethod · 0.70
acoshMethod · 0.70
atanhMethod · 0.70
lgammaMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected