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

◆ atan_unit()

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

Definition at line 402 of file s4x12.h.

402 {
403 constexpr s4x12 c0(0.9998779297f);
404 constexpr s4x12 c1(-0.3269348145f);
405 constexpr s4x12 c2(0.1594085693f);
406 constexpr s4x12 c3(-0.0472106934f);
407 s4x12 t2 = t * t;
408 return t * (c0 + t2 * (c1 + t2 * (c2 + t2 * c3)));
409 }
constexpr s4x12() FL_NOEXCEPT=default

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