FastLED 3.10.8
Loading...
Searching...
No Matches

◆ floor()

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

Definition at line 115 of file u24x8.h.

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

References u24x8(), FASTLED_FORCE_INLINE, fl::FL_NO_EXCEPT, 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: