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

◆ fract()

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

Definition at line 124 of file u24x8.h.

124 {
125 return from_raw(x.mValue & u32((SCALE) - 1));
126 }
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.

+ Here is the call graph for this function: