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

◆ fract()

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

Definition at line 138 of file u16x16.h.

138 {
139 return from_raw(x.mValue & u32((SCALE) - 1));
140 }
static constexpr FASTLED_FORCE_INLINE u16x16 from_raw(u32 raw) FL_NOEXCEPT
Definition u16x16.h:53
static constexpr i32 SCALE
Definition u16x16.h:22

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

+ Here is the call graph for this function: