FastLED 3.9.15
Loading...
Searching...
No Matches

◆ acos() [2/2]

template<typename Derived, int IntBits, int FracBits>
static FASTLED_FORCE_INLINE Derived fl::fixed_point_base< Derived, IntBits, FracBits >::acos ( Derived x)
inlinestatic

Definition at line 204 of file base.h.

204 {
205 constexpr Derived one(1.0f);
206 return atan2(sqrt(one - x * x), x);
207 }
constexpr FASTLED_FORCE_INLINE Derived sqrt() const
Definition base.h:294
static FASTLED_FORCE_INLINE Derived atan2(Derived y, Derived x)
Definition base.h:180

References atan2(), FASTLED_FORCE_INLINE, sqrt(), and fl::x.

+ Here is the call graph for this function: