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

◆ sign()

template<int IntBits, int FracBits, Sign S>
static constexpr FASTLED_FORCE_INLINE fixed_point fl::fixed_point< IntBits, FracBits, S >::sign ( fixed_point< IntBits, FracBits, S > x)
inlinestaticconstexpr

Definition at line 336 of file fixed_point.h.

336 {
337 return from_raw(Base::sign(x).raw());
338 }
static constexpr FASTLED_FORCE_INLINE fixed_point from_raw(RawType raw) FL_NOEXCEPT
FASTLED_FORCE_INLINE constexpr RawType raw() const FL_NOEXCEPT