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

◆ atan_unit()

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

Definition at line 391 of file s12x4.h.

391 {
392 constexpr s12x4 c0(0.9998779297f);
393 constexpr s12x4 c1(-0.3269348145f);
394 constexpr s12x4 c2(0.1594085693f);
395 constexpr s12x4 c3(-0.0472106934f);
396 s12x4 t2 = t * t;
397 return t * (c0 + t2 * (c1 + t2 * (c2 + t2 * c3)));
398 }
constexpr s12x4() FL_NOEXCEPT=default

References s12x4(), 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: