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

◆ asin() [2/2]

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

Definition at line 240 of file s16x16.h.

240 {
241 constexpr s16x16 one(1.0f);
242 return atan2(x, sqrt(one - x * x));
243 }
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: