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

◆ ceil()

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

Definition at line 133 of file u16x16.h.

133 {
134 return from_raw((x.mValue & ~(u32((SCALE) - 1))) +
135 ((x.mValue & u32((SCALE) - 1)) ? (SCALE) : 0));
136 }
static constexpr FASTLED_FORCE_INLINE u16x16 from_raw(u32 raw) FL_NOEXCEPT
Definition u16x16.h:53
static constexpr i32 SCALE
Definition u16x16.h:22

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

Referenced by fl::audio::fft::Context::buildLinearBinLut(), fl::audio::fft::Context::computeLogRebinNormFactors(), and fl::audio::fft::Context::logRebinRange().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: