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

◆ atan_unit()

static FASTLED_FORCE_INLINE s16x16 fl::s16x16::atan_unit ( s16x16 t)
inlinestaticprivate

Definition at line 465 of file s16x16.h.

465 {
466 constexpr s16x16 c0(0.9998779297f);
467 constexpr s16x16 c1(-0.3269348145f);
468 constexpr s16x16 c2(0.1594085693f);
469 constexpr s16x16 c3(-0.0472106934f);
470 s16x16 t2 = t * t;
471 return t * (c0 + t2 * (c1 + t2 * (c2 + t2 * c3)));
472 }
constexpr s16x16() FL_NO_EXCEPT=default

References s16x16(), FASTLED_FORCE_INLINE, fl::FL_NO_EXCEPT, and fl::t.

Referenced by atan(), and atan2().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: