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

Method pow

src/fl/math/fixed_point.h:441–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439 // Power: pow(2.0, 3.0) → 8.0. Uses exp2/log2 LUTs internally.
440 // FP r = FP::pow(FP(2.0f), FP(10.0f)); // 1024.0
441 static FASTLED_FORCE_INLINE fixed_point pow(fixed_point base, fixed_point exp) FL_NOEXCEPT {
442 return from_raw(Base::pow(base, exp).raw());
443 }
444};
445
446// Convenience aliases that default the sign, so you don't need to spell Sign::SIGNED.

Callers 2

calculateMetricsMethod · 0.45
create_mixFunction · 0.45

Calls 2

powFunction · 0.70
rawMethod · 0.45

Tested by

no test coverage detected