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

Method acos

src/fl/math/fixed_point.h:421–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419
420 // Arc cosine: acos(0.0) ≈ π/2. Input must be in [-1, 1].
421 static FASTLED_FORCE_INLINE fixed_point acos(fixed_point x) FL_NOEXCEPT {
422 return from_raw(Base::acos(x).raw());
423 }
424
425 // ---- Other math functions ----
426

Callers

nothing calls this directly

Calls 2

acosFunction · 0.85
rawMethod · 0.45

Tested by

no test coverage detected