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

◆ acos() [2/2]

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

Definition at line 219 of file s16x16.h.

219 {
220 constexpr s16x16 one(1.0f);
221 return atan2(sqrt(one - x * x), x);
222 }
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: