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

◆ ceil() [2/2]

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

Definition at line 122 of file s8x24.h.

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

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

+ Here is the call graph for this function: