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

◆ floor() [2/2]

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

Definition at line 119 of file s4x12.h.

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

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

+ Here is the call graph for this function: