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

◆ asin() [2/2]

static FASTLED_FORCE_INLINE s16x16 fl::s16x16::asin ( s16x16 x)
inlinestatic

Definition at line 214 of file s16x16.h.

214 {
215 constexpr s16x16 one(1.0f);
216 return atan2(x, sqrt(one - x * x));
217 }
constexpr FASTLED_FORCE_INLINE s16x16 sqrt() const FL_NOEXCEPT
Definition s16x16.h:291
constexpr s16x16() FL_NOEXCEPT=default
static FASTLED_FORCE_INLINE s16x16 atan2(s16x16 y, s16x16 x) FL_NOEXCEPT
Definition s16x16.h:195

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

+ Here is the call graph for this function: