FastLED 3.10.6
Loading...
Searching...
No Matches

◆ highest_bit()

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

Definition at line 367 of file s16x16.h.

367 {
368 return v == 0 ? -1 : _highest_bit_step(v, 0);
369 }
static constexpr int _highest_bit_step(u32 v, int r) FL_NO_EXCEPT
Definition s16x16.h:371

References _highest_bit_step(), FASTLED_FORCE_INLINE, and fl::FL_NO_EXCEPT.

Referenced by log2_fp().

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