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

◆ operator-() [2/2]

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 83 of file base.h.

83 {
84 return Derived::from_raw(static_cast<raw_type>(
85 static_cast<unsigned_raw_type>(mValue) - static_cast<unsigned_raw_type>(b.mValue)));
86 }
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.