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

◆ atan_unit()

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

Definition at line 400 of file s24x8.h.

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

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