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

◆ atan_unit()

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

Definition at line 403 of file s8x8.h.

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

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