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

◆ highest_bit()

static constexpr FASTLED_FORCE_INLINE int fl::s24x8::highest_bit ( u32 v)
inlinestaticconstexprprivate

Definition at line 302 of file s24x8.h.

302 {
303 return v == 0 ? -1 : _highest_bit_step(v, 0);
304 }
static constexpr int _highest_bit_step(u32 v, int r) FL_NOEXCEPT
Definition s24x8.h:306

References _highest_bit_step(), FASTLED_FORCE_INLINE, and FL_NOEXCEPT.

Referenced by log2_fp().

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