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

◆ ceil() [2/2]

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

Definition at line 122 of file s24x8.h.

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

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

+ Here is the call graph for this function: