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

◆ floor()

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

Definition at line 117 of file u8x8.h.

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

References u8x8(), 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: