FastLED 3.10.8
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 FASTLED_FORCE_INLINE s12x4 from_raw(i16 raw) FL_NO_EXCEPT
Definition s12x4.h:42
static constexpr i32 SCALE
Definition s12x4.h:23

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

+ Here is the call graph for this function: