MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / pow

Method pow

extern/half/include/half.hpp:1478–1478  ·  view source on GitHub ↗

Power implementation. \param base value to exponentiate \param exp power to expontiate to \return function value stored in single-preicision

Source from the content-addressed store, hash-verified

1476 /// \param exp power to expontiate to
1477 /// \return function value stored in single-preicision
1478 static expr pow(float base, float exp) { return expr(std::pow(base, exp)); }
1479
1480 /// Sine implementation.
1481 /// \param arg function argument

Callers

nothing calls this directly

Calls 2

exprClass · 0.85
powFunction · 0.85

Tested by

no test coverage detected