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

Method erfc

include/half/half.hpp:1569–1576  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1567 /// \param arg function argument
1568 /// \return function value stored in single-preicision
1569 static expr erfc(float arg)
1570 {
1571 #if HALF_ENABLE_CPP11_CMATH
1572 return expr(std::erfc(arg));
1573 #else
1574 return expr(static_cast<float>(1.0-erf(static_cast<double>(arg))));
1575 #endif
1576 }
1577
1578 /// Gamma logarithm implementation.
1579 /// \param arg function argument

Callers

nothing calls this directly

Calls 3

exprClass · 0.85
erfcFunction · 0.85
erfFunction · 0.85

Tested by

no test coverage detected