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

◆ ceil()

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

Definition at line 119 of file u24x8.h.

119 {
120 return from_raw((x.mValue & ~(u32((SCALE) - 1))) +
121 ((x.mValue & u32((SCALE) - 1)) ? (SCALE) : 0));
122 }
static constexpr FASTLED_FORCE_INLINE u24x8 from_raw(u32 raw) FL_NOEXCEPT
Definition u24x8.h:52
static constexpr i32 SCALE
Definition u24x8.h:22

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

+ Here is the call graph for this function: