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

◆ floor()

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

Definition at line 315 of file fixed_point.h.

315 {
316 return from_raw(Base::floor(x).raw());
317 }
static constexpr FASTLED_FORCE_INLINE fixed_point from_raw(RawType raw) FL_NOEXCEPT
FASTLED_FORCE_INLINE constexpr RawType raw() const FL_NOEXCEPT