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

◆ atan_unit()

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

Definition at line 398 of file s8x24.h.

398 {
399 constexpr s8x24 c0(0.9998779297f);
400 constexpr s8x24 c1(-0.3269348145f);
401 constexpr s8x24 c2(0.1594085693f);
402 constexpr s8x24 c3(-0.0472106934f);
403 s8x24 t2 = t * t;
404 return t * (c0 + t2 * (c1 + t2 * (c2 + t2 * c3)));
405 }
constexpr s8x24() FL_NOEXCEPT=default

References s8x24(), FASTLED_FORCE_INLINE, FL_NOEXCEPT, and fl::t.

Referenced by atan(), and atan2().

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