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

◆ cos() [2/2]

template<typename Derived, int IntBits, int FracBits>
static FASTLED_FORCE_INLINE Derived fl::fixed_point_base< Derived, IntBits, FracBits >::cos ( Derived angle)
inlinestatic

Definition at line 309 of file base.h.

309 {
310 return Derived::from_raw(static_cast<raw_type>(
312 }
typename traits::raw_type raw_type
Definition base.h:31
static constexpr FASTLED_FORCE_INLINE u32 angle_to_a24(Derived angle)
Definition base.h:476
static constexpr int SIN_COS_SHIFT
Definition traits.h:136

References angle_to_a24(), fl::cos32(), FASTLED_FORCE_INLINE, and fl::fixed_point_traits< IntBits, FracBits >::SIN_COS_SHIFT.

+ Here is the call graph for this function: