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

◆ ceil()

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

Definition at line 121 of file u8x8.h.

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

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

+ Here is the call graph for this function: