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

◆ operator+()

template<typename Derived, int IntBits, int FracBits>
FASTLED_FORCE_INLINE Derived fl::fixed_point_base< Derived, IntBits, FracBits >::operator+ ( Derived b) const
inlineconstexpr

Definition at line 78 of file base.h.

78 {
79 return Derived::from_raw(static_cast<raw_type>(
80 static_cast<unsigned_raw_type>(mValue) + static_cast<unsigned_raw_type>(b.mValue)));
81 }
typename traits::unsigned_raw_type unsigned_raw_type
Definition base.h:32
typename traits::raw_type raw_type
Definition base.h:31
raw_type mValue
Definition base.h:41

References FASTLED_FORCE_INLINE, and mValue.