MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / expm1

Method expm1

include/half/half.hpp:1372–1379  ·  view source on GitHub ↗

Exponential implementation. \param arg function argument \return function value stored in single-preicision

Source from the content-addressed store, hash-verified

1370 /// \param arg function argument
1371 /// \return function value stored in single-preicision
1372 static expr expm1(float arg)
1373 {
1374 #if HALF_ENABLE_CPP11_CMATH
1375 return expr(std::expm1(arg));
1376 #else
1377 return expr(static_cast<float>(std::exp(static_cast<double>(arg))-1.0));
1378 #endif
1379 }
1380
1381 /// Binary exponential implementation.
1382 /// \param arg function argument

Callers

nothing calls this directly

Calls 3

exprClass · 0.85
expm1Function · 0.85
expFunction · 0.85

Tested by

no test coverage detected