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

◆ operator-() [1/2]

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

Definition at line 88 of file base.h.

88 {
89 return Derived::from_raw(static_cast<raw_type>(
90 0u - static_cast<unsigned_raw_type>(mValue)));
91 }
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.