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

◆ floor()

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

Definition at line 115 of file u4x12.h.

115 {
116 return from_raw(x.mValue & ~(u16((SCALE) - 1)));
117 }
static constexpr i32 SCALE
Definition u4x12.h:22
static constexpr FASTLED_FORCE_INLINE u4x12 from_raw(u16 raw) FL_NOEXCEPT
Definition u4x12.h:52

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

Referenced by exp2_fp().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: