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

Function log1p

samples/common/half.h:3137–3140  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

3135/// \return logarithm of \a arg plus 1 to base e
3136// template<typename T> typename enable<expr,T>::type log1p(T arg) { return functions::log1p(arg); }
3137inline expr log1p(half arg)
3138{
3139 return functions::log1p(arg);
3140}
3141inline expr log1p(expr arg)
3142{
3143 return functions::log1p(arg);

Callers 1

log1pMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected