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

◆ fract()

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

Definition at line 124 of file u4x12.h.

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

+ Here is the call graph for this function: