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

◆ floor() [2/2]

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

Definition at line 108 of file s12x4.h.

108 {
109 return from_raw(x.mValue & ~(i16((SCALE) - 1)));
110 }
static constexpr i32 SCALE
Definition s12x4.h:23
static constexpr FASTLED_FORCE_INLINE s12x4 from_raw(i16 raw) FL_NOEXCEPT
Definition s12x4.h:42

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

+ Here is the call graph for this function: