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

◆ asin() [2/2]

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

Definition at line 199 of file base.h.

199 {
200 constexpr Derived one(1.0f);
201 return atan2(x, sqrt(one - x * x));
202 }
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: