MCPcopy Create free account
hub / github.com/FastLED/FastLED / powfp

Function powfp

src/fl/math/fixed_point.h:619–622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617//-------------------------------------------------------------------------------
618template <typename T>
619inline typename enable_if<is_fixed_point<T>::value, T>::type
620powfp(T base, T exp) FL_NOEXCEPT {
621 return T::pow(base, exp);
622}
623
624//-------------------------------------------------------------------------------
625// expfp<T>(x) — fixed-point exponential: computes e^x.

Callers 1

fixed_point.hFile · 0.85

Calls 1

powFunction · 0.70

Tested by

no test coverage detected