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

◆ floor()

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

Definition at line 129 of file u16x16.h.

129 {
130 return from_raw(x.mValue & ~(u32((SCALE) - 1)));
131 }
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.

Referenced by exp2_fp().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: