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

◆ highest_bit()

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

Definition at line 323 of file s16x16.h.

323 {
324 return v == 0 ? -1 : _highest_bit_step(v, 0);
325 }
static constexpr int _highest_bit_step(u32 v, int r) FL_NOEXCEPT
Definition s16x16.h:327

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: