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

◆ ceil()

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

Definition at line 120 of file u8x24.h.

120 {
121 return from_raw((x.mValue & ~(u32((SCALE) - 1))) +
122 ((x.mValue & u32((SCALE) - 1)) ? (SCALE) : 0));
123 }
static constexpr FASTLED_FORCE_INLINE u8x24 from_raw(u32 raw) FL_NOEXCEPT
Definition u8x24.h:53
static constexpr i32 SCALE
Definition u8x24.h:23

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

+ Here is the call graph for this function: