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

Method erf

include/half/half.hpp:1557–1564  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1555 /// \param arg function argument
1556 /// \return function value stored in single-preicision
1557 static expr erf(float arg)
1558 {
1559 #if HALF_ENABLE_CPP11_CMATH
1560 return expr(std::erf(arg));
1561 #else
1562 return expr(static_cast<float>(erf(static_cast<double>(arg))));
1563 #endif
1564 }
1565
1566 /// Complementary implementation.
1567 /// \param arg function argument

Callers

nothing calls this directly

Calls 6

exprClass · 0.85
erfFunction · 0.85
builtin_isinfFunction · 0.85
sqrtFunction · 0.85
expFunction · 0.85
builtin_signbitFunction · 0.85

Tested by

no test coverage detected