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

◆ floor() [2/2]

static constexpr FASTLED_FORCE_INLINE s24x8 fl::s24x8::floor ( s24x8 x)
inlinestaticconstexpr

Definition at line 118 of file s24x8.h.

118 {
119 return from_raw(x.mValue & ~(i32((SCALE) - 1)));
120 }
static constexpr FASTLED_FORCE_INLINE s24x8 from_raw(i32 raw) FL_NOEXCEPT
Definition s24x8.h:53
static constexpr i32 SCALE
Definition s24x8.h:23

References s24x8(), FASTLED_FORCE_INLINE, FL_NOEXCEPT, from_raw(), SCALE, and fl::x.

+ Here is the call graph for this function: