FastLED 3.10.8
Loading...
Searching...
No Matches

◆ acos() [2/2]

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

Definition at line 245 of file s16x16.h.

245 {
246 constexpr s16x16 one(1.0f);
247 return atan2(sqrt(one - x * x), x);
248 }
constexpr FASTLED_FORCE_INLINE s16x16 sqrt() const FL_NO_EXCEPT
Definition s16x16.h:335
constexpr s16x16() FL_NO_EXCEPT=default
static FASTLED_FORCE_INLINE s16x16 atan2(s16x16 y, s16x16 x) FL_NO_EXCEPT
Definition s16x16.h:221

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

+ Here is the call graph for this function: