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

◆ ceil() [2/2]

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

Definition at line 123 of file s8x8.h.

123 {
124 return from_raw((x.mValue & ~(i16((SCALE) - 1))) +
125 ((x.mValue & i16((SCALE) - 1)) ? (SCALE) : 0));
126 }
static constexpr FASTLED_FORCE_INLINE s8x8 from_raw(i16 raw) FL_NOEXCEPT
Definition s8x8.h:53
static constexpr i32 SCALE
Definition s8x8.h:23

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

+ Here is the call graph for this function: