FastLED
3.10.8
Loading...
Searching...
No Matches
◆
cos_poly_quarterturn_()
template<typename F>
F fl::detail::cos_poly_quarterturn_
(
F
x
)
inline
Definition at line
259
of file
math.cpp.hpp
.
259
{
260
// cos(x) ≈ 1 - x²/2 + x⁴/24 - x⁶/720
261
const
F x2 =
x
*
x
;
262
return
F(1) - x2 * (F(0.5) - x2 * (F(1.0 / 24.0) - x2 * F(1.0 / 720.0)));
263
}
fl::x
x
Definition
transposition.cpp.hpp:25
References
fl::FL_NO_EXCEPT
, and
fl::x
.
fl
detail
Generated on Sun Oct 18 2026 00:57:11 for FastLED by
1.13.2